-
Notifications
You must be signed in to change notification settings - Fork 9
/
.travis.yml
52 lines (45 loc) · 1.61 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
language: minimal
sudo: false
os: linux
branches:
only:
- master
env:
global:
- secure: "mwAefLGtK0kTgstNU8/xVpoEleRZLpWZr2xBlhMr4H/3lPkNrKQno1I6PT5ADdvDtJeLo0jBKaH9Ooe+IYZovo1J5qY0YEEpSFdpovHOyAPO/YAA8fzoWT8IIhbU9/4YNGsQ3Ldvvtl0oSsCuyIl4Iopc2gBHlJHakhQQ0ILuCGHmQ6faqk+WUPioEfVjSjmzKQb7gFZRXszZueDxnljiDfL4txZyDMwQd5sQuok+F37cAdncrwnGa+bwcSOQSdrdsBIL2nmnEsaD9q+7cRk9uotn7Qf4ICcq12PChK6/LazeNTmeU2SR3HO0Wo74XU1WuDzvYdFwNZ6D6B4VnkvSgB+hl/x62P4JW8R1Y/dvsvI90vaNKnJFjrIOV6uhiTrf5TXVVfsivYhdGYotzgLjFK7fm6MCwNhagACl5NMTyGAAwK4QBFD+U9YxPOQbKIbdt1FAZsFcp0FZos/WCtiWIG7zQQkcsHfklwmDaCVZ7zMCC7+XmustMS34gUJHXDlqCNbYcMiuj7Ybn2QAbfRrVJAJtOHDqqmEOBjIHfr6srPO4q4jHJqVdZ4fM1hvDizzWLXqObyH9KrijD0crygEtmpzwJUq435ZzwzZM6GhFHP0UrtuVF4d9PAKhxa50nUAl0YI+m/KNU2Mh2yvgeLzllVUbeB7NO0gmBNhJuZ98Q="
jobs:
fast_finish: true
include:
- env:
PYTHON=2.7
- env:
PYTHON=3.5
- env:
PYTHON=3.6
DOCS=true
install:
- source testing/install_conda.sh
- conda create -n testenv python=$PYTHON pytest flake8 virtualenv -y
- source activate testenv
- |
if [[ "$DOCS" == "true" ]]; then
pip install sphinx numpydoc sphinxcontrib.autoprogram doctr
fi
- pip install .
- pip list
- ./testing/setup_envs.sh
script:
- source activate testenv
- py.test venv_pack --runslow -s -vv
- flake8 venv_pack
- |
if [[ "$DOCS" == "true" ]]; then
pushd docs && make html && popd
fi
after_success:
- |
if [[ "$TRAVIS_BRANCH" == "master" && "$TRAVIS_EVENT_TYPE" == "push" ]]; then
doctr deploy . --built-docs docs/build/html/
fi
notifications:
email: false