@@ -10,22 +10,24 @@ matrix:
1010 fast_finish : true
1111 include :
1212 - python : 2.7
13- env : TEST_TARGET=branca_release
14- - python : 3.5
15- env : TEST_TARGET=branca_release
16- - python : 3.5
17- env : TEST_TARGET=coding_standards
13+ env : TEST_TARGET=default
14+ - python : 3.4
15+ env : TEST_TARGET=default
1816 - python : 3.5
17+ env : TEST_TARGET=default
18+ - python : 3.6
19+ env : TEST_TARGET=default
20+ - python : 3.6
1921 env : TEST_TARGET=notebooks
2022 - python : 2.7
21- env : TEST_TARGET=branca_latest
22- - python : 3.5
23- env : TEST_TARGET=branca_latest
23+ env : TEST_TARGET=latest_branca
24+ - python : 3.6
25+ env : TEST_TARGET=latest_branca
2426 allow_failures :
2527 - python : 2.7
26- env : TEST_TARGET=branca_latest
27- - python : 3.5
28- env : TEST_TARGET=branca_latest
28+ env : TEST_TARGET=latest_branca
29+ - python : 3.6
30+ env : TEST_TARGET=latest_branca
2931
3032before_install :
3133 - wget http://bit.ly/miniconda -O miniconda.sh
@@ -36,10 +38,10 @@ before_install:
3638 - conda create --yes -n TEST python=$TRAVIS_PYTHON_VERSION --file requirements.txt --file requirements-dev.txt
3739 - source activate TEST
3840
39- - if [[ "$TRAVIS_PYTHON_VERSION" != "3.5 " ]]; then
41+ - if [[ "$TRAVIS_PYTHON_VERSION" == "2.7 " ]]; then
4042 conda install --yes mock ;
4143 fi
42- - if [[ "$TRAVIS_PYTHON_VERSION" == "3.5 " ]]; then
44+ - if [[ "$TRAVIS_PYTHON_VERSION" == "3.6 " ]]; then
4345 conda install --yes doctr ;
4446 fi
4547
@@ -48,21 +50,17 @@ install:
4850 - python setup.py sdist && version=$(python setup.py --version) && pushd dist && pip install folium-${version}.tar.gz && popd
4951
5052script :
51- - if [[ $TEST_TARGET == 'branca_release ' ]]; then
53+ - if [[ $TEST_TARGET == 'default ' ]]; then
5254 py.test -vv --ignore=tests/notebooks/test_notebooks.py ;
5355 fi
5456
55- - if [[ $TEST_TARGET == 'branca_latest ' ]]; then
57+ - if [[ $TEST_TARGET == 'latest_branca ' ]]; then
5658 pip install git+https://github.com/python-visualization/branca.git ;
5759 python setup.py test ;
5860 fi
5961
60- - if [[ $TEST_TARGET == 'coding_standards' ]]; then
61- find . -type f -name "*.py" ! -name 'conf.py' | xargs flake8 --max-line-length=100 ;
62- for file in $(find . -type f -name "*.ipynb"); do jupyter nbconvert --template=tests/strip_markdown.tpl --stdout --to python $file | grep -v '^get_ipython' | flake8 - --ignore=W391,E226,E402 --max-line-length=100 --show-source ; done ;
63- fi
64-
6562 - if [[ $TEST_TARGET == 'notebooks' ]]; then
63+ for file in $(find . -type f -name "*.ipynb"); do jupyter nbconvert --template=tests/strip_markdown.tpl --stdout --to python $file | grep -v '^get_ipython' | flake8 - --ignore=W391,E226,E402 --max-line-length=100 --show-source ; done ;
6664 py.test -vv tests/notebooks/test_notebooks.py ;
6765 doctr deploy --built-docs=examples/results --gh-pages-docs=gallery ;
6866 fi
0 commit comments