forked from popylar/popylar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
42 lines (37 loc) · 2.2 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
language: python
sudo: false
deploy:
provider: pypi
user: arokem
password:
secure: JKKiOtcb6q69kf0ZIQaMkTroe60HhjrPe4/rw71govCR2w8PLAS/IxDyE5zmq9Au0FeJbDm2fJS9B1gsEDGJFX1Q/v9MrjyygZu06aThLh19QfkhxYFldPCynECp5oxrdMPBSRoJWEPe2SDpfVPw6Yw7rgtU0h2p4QqTpG2inGRsOOlcc84U/FjzmZ+mr2KaRr26ZhNUQf4Xec6Cg41QIOvSSNgZaPqmFz01P0IwcHuRPJt/T+suKXI/F9o6NSEDrFfU0KoOYz+7mT2r0ksSOI4DLNB0rXn4ZFwt++e8f+iZJreEelXsVoVupMoZWJX+y4Az9QBQ/QqEWMs18PwhrQup3a0XRFKqEEGUG3lW3POxIGMarqUj5QLVKClvFsIeWCQDbnX4x+OsUUSofK1b1JlecruGJUNX8/ZJRuDyx/CssmnBf5XR/CYn/UBA98CuMszy3xB6NjLRtWUPreosiQ5OFA0K3aZmhyE1Cjbvs/n59QNnx5rm1iwRizgkxsx6O7z8FV0V38J4Dfupv4b5B/KzkXNRajMnY7qD2/rZ67lXveCTgawGxBcLuTW+oyNzEs2ifKpoL/wryHjRAQ23iHnJJhfREshD2/lJXutVAx5+sXAtC5gW2b5eJuf9xFSH9fFoTK7T9kPsNSKNtKyYexut2+aYQ5nQ5hOEh1zGqxw=
on:
tags: true
repo: popylar/popylar
env:
global:
- PIP_DEPS="coveralls pytest-cov flake8"
- secure: "f74qvr/w0DTFb1Sk3uwBhvFRZ1GaDZXIvNUoEOVmFM2QKNOOHMT8OOoxirG7G67xuPeH1J5luHuJia0Hjh2cvaoK1SQlgsl+NF/II9wOmpKeqG0GK2Ey53gFsiduIAe1xGVm/hmx0X2bOdeC6nbYbFxYgynofn370ztsqp5wlesIOgv1CY3Yp7YS5JIsIJfAT1SNiujXX+o6DiyA07mBPqa8u89R1itQRs0kiWc8wf9v64gDiREzbIBP9go+kI7LVA9smJOyy0t9clInq72zBCLWcnaD3GSAkxXUV0r8jaPvsqExAKJFIC79tL8DAY+HZztMtfs1VmRJopuIJa4GmmHKuZNzHRgTKFAj/MctYQjX/8M/gaeKe7NDCQqDqwf37QqpbfdqbVNLkzcrM66a5j/LcmOxt263ViF6/6ukybc0TEcCwnBRxKaXAzhGupTvGUADprrVokg2I9aW6nWoYfOFjdTamnNwMu5Es8dv2TAg+atpCTt/vYRswutk9ILxkk6AqRS8bxMRv+Khyp+Zs4Sq9T2Puv7RrCpqpEmn+c9v7JWpYa7R62MxS7RzWvOy5A8FzTah3mdsKrcvR8mFEey2MClzeOAzeAZfSHj2Wt26HOP2AWoI9NV/dPPyW0yN9vueEf8wDKAxIn7I6lagXVdUgQdJnmFsoPHkrh95/bg="
python:
- '2.7'
- '3.6'
install:
- travis_retry pip install $PIP_DEPS
- travis_retry pip install -r requirements.txt
- travis_retry pip install -e .
script:
- flake8 --ignore N802,N806 `find . -name \*.py | grep -v setup.py | grep -v version.py | grep -v __init__.py | grep -v /doc/`
- py.test --pyargs popylar --cov-report term-missing --cov=popylar
after_success:
- coveralls
- |
if [[ $TRAVIS_PYTHON_VERSION == 3.6 ]]; then
pip install sphinx sphinx-gallery pillow
# Doctr for gh-pages;
set -e;
pip install doctr;
cd doc;
make html;
cd ..;
doctr deploy . --built-docs doc/_build/html --no-require-master;
fi