15
15
matrix :
16
16
fast_finish : true
17
17
include :
18
- - name : default-python2
19
- env : TEST_TARGET=default PY=2.7
18
+ - name : legacy-python
19
+ env : PY=2.7
20
20
- name : default
21
- env : TEST_TARGET=default PY=3.7
21
+ env : PY=3.7
22
22
- name : notebooks-conding-standard
23
23
env : PY=3.7
24
24
- name : notebooks-code
25
25
env : PY=3.7
26
- - name : latest_branca
26
+ - name : latest-branca
27
27
env : PY=3.7
28
28
- name : docs
29
29
env : PY=3.7
30
30
allow_failures :
31
- - name : latest_branca
31
+ - name : latest-branca
32
32
env : PY=3.7
33
33
34
34
before_install :
@@ -60,11 +60,17 @@ script:
60
60
cp -r tests/ examples/ /tmp ;
61
61
fi
62
62
63
- - if [[ $TEST_TARGET == 'default' ]]; then
63
+ - if [[ $TRAVIS_JOB_NAME == 'default' ]]; then
64
+ pytest /tmp -vv --ignore=tests/notebooks/test_notebooks.py ;
65
+ fi
66
+
67
+ - if [[ $TRAVIS_JOB_NAME == 'legacy-python' ]]; then
64
68
pytest /tmp -vv --ignore=tests/notebooks/test_notebooks.py ;
65
69
fi
66
70
67
- - if [[ $TRAVIS_JOB_NAME == 'latest_branca' ]]; then
71
+ legacy-python
72
+
73
+ - if [[ $TRAVIS_JOB_NAME == 'latest-branca' ]]; then
68
74
conda uninstall branca ;
69
75
pip install git+https://github.com/python-visualization/branca.git ;
70
76
pytest /tmp -vv --ignore=tests/notebooks/test_notebooks.py ;
@@ -80,12 +86,14 @@ script:
80
86
pytest --nbval-lax -p no:python /tmp/examples ;
81
87
fi
82
88
83
- - if [[ $TEST_TARGET == 'docs' ]]; then
84
- - if [[ -z "$TRAVIS_TAG" ]]; then
85
- DEPLOY_DIR=dev;
86
- else
87
- DEPLOY_DIR="version-$TRAVIS_TAG";
88
- fi
89
+ # Docs
90
+ - if [[ -z "$TRAVIS_TAG" ]]; then
91
+ DEPLOY_DIR=dev;
92
+ else
93
+ DEPLOY_DIR="version-$TRAVIS_TAG";
94
+ fi
95
+
96
+ - if [[ $TRAVIS_JOB_NAME == 'docs' ]]; then
89
97
set -e ;
90
98
conda install doctr ;
91
99
cp examples/Quickstart.ipynb docs/quickstart.ipynb ;
0 commit comments