forked from galaxy-genome-annotation/python-chado
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
52 lines (49 loc) · 2.05 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
sudo: required
language: python
services:
- docker
python:
- '3.6'
jobs:
include:
- stage: lint
install:
- pip install -U flake8 flake8-import-order
script:
- flake8 chado test --ignore=E501
- stage: test
python: '3.6'
install:
- pip install -U pip setuptools nose
- python setup.py install
- export CHAKIN_GLOBAL_CONFIG_PATH=`pwd`/test-data/chakin.yml
- sudo service postgresql stop
- chakin util launch_docker_image --background --no_yeast
- sleep 300 # Wait for the container to be ready
script:
- python setup.py nosetests
- stage: test
python: '3.6'
env:
- TRIPAL=1
install:
- pip install -U pip setuptools nose
- python setup.py install
- export CHAKIN_GLOBAL_CONFIG_PATH=`pwd`/test-data/compose/chakin-compose.yml
- sudo service postgresql stop
- cd test-data/compose && docker-compose up -d && cd ../../
- sleep 300 # Wait for the container to be ready
script:
- python setup.py nosetests
- stage: deploy
install: skip
script: echo "Deploying to Pypi"
deploy:
provider: pypi
user: abretaud
password:
secure: XeNxcR2OkEW5VlmlgcpInv8cCfjxZt6aYgosInIiCI9HSXiVvaI6YhbXarpL+AXB/ZtlRaprSK3NQjANX1/KgvcYSqAKOOID586ZZN02uHDapLo16/yXu+tABIwHoNAj2sT8xr7QugrXtzWFe4foEG6hi2Cg/8cBQu3RhwQZe3KJuIRooBsf4FQTRxaDRuPqp+NLgxij9oBYzOwmFnRwR99DbazmRTiTRvaTpet9PZC+EKZFrPC3HKRJRAj4ojXm1VvLbu3HAqN/t44Rf/lHPII2KMM4QdJvbn/xL4RYmsinfdyhjo2IIdiC/MnMxPaszssV6JRk9pvR9CTxIFdDAOIk3/iPXECOKDhmyHlfMY7uqOGuG7an4r4azhwwECAQX8BS8/ZS+MKU6iFrp3NrIvGnYs97hDlpeb9VZuyu01hVDEtc8uvK0L1zfgwFeeamqZrAiF3ZcpHjcDh+8XtsoDdAAUKbIObfMWfOV6q/qF32wn0JF1ZxvqL1zFgzACA8Xbg99o6p2EvdEPkVQwrafJ1cQNEw93G0JQEFLTdIaboaUBXhP1zYV3lLxkVBQc0r3rtpwZgiDNYue+fCMStSKo8pjtvMGuRNR8xWVD1TNThCMIyny92cwbOR/jh4IGb8k2yEQXj4WIzPjBuWsW4kGCNMI7dkLSBASnOUOh/Q02A=
on:
tags: true
distributions: sdist bdist_wheel
repo: galaxy-genome-annotation/python-chado