| 1 |
language: python |
| 2 |
sudo: false |
| 3 |
python: |
| 4 |
- '3.6' |
| 5 |
- '3.7' |
| 6 |
- '3.8' |
| 7 |
services: |
| 8 |
- mongodb |
| 9 |
- elasticsearch |
| 10 |
branches: |
| 11 |
except: |
| 12 |
- "/^feature.*$/" |
| 13 |
before_install: |
| 14 |
- sudo apt-get install -y libgnutls-dev |
| 15 |
addons: |
| 16 |
apt: |
| 17 |
update: true |
| 18 |
install: |
| 19 |
- pip install flake8 |
| 20 |
- pip install -r requirements.txt |
| 21 |
- pip install coverage |
| 22 |
- pip install python-coveralls |
| 23 |
- python setup.py -q install |
| 24 |
before_script: |
| 25 |
- sleep 10 |
| 26 |
script: |
| 27 |
- nosetests -a '!network' |
| 28 |
- flake8 --ignore E501,E123 biomaj |
| 29 |
deploy: |
| 30 |
provider: pypi |
| 31 |
skip_existing: true |
| 32 |
user: osallou |
| 33 |
password: |
| 34 |
secure: UrZI37Ab+Zz4XtpcTIwuWorV+7iY26Mbfga7Rw5TK0OTJsiI3oZiy0CBFkSO0IGsh8nea6mPZ8KYqzHhLN1EK+mCT0uej09jMIVlI23wGQSigwinO+2nA664bbikcKhsAy5NNlqB73VGyw4eBUf2XXV+dPMXj8aaVM0LZ148Qag= |
| 35 |
distributions: sdist bdist_wheel |
| 36 |
on: |
| 37 |
tags: true |