@@ -10,36 +10,36 @@ 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
1814 - python : 3.5
15+ env : TEST_TARGET=default
16+ - python : 3.6
17+ env : TEST_TARGET=default
18+ - python : 3.6
1919 env : TEST_TARGET=notebooks
2020 - python : 2.7
21- env : TEST_TARGET=branca_latest
22- - python : 3.5
23- env : TEST_TARGET=branca_latest
21+ env : TEST_TARGET=latest_branca
22+ - python : 3.6
23+ env : TEST_TARGET=latest_branca
2424 allow_failures :
2525 - python : 2.7
26- env : TEST_TARGET=branca_latest
27- - python : 3.5
28- env : TEST_TARGET=branca_latest
26+ env : TEST_TARGET=latest_branca
27+ - python : 3.6
28+ env : TEST_TARGET=latest_branca
2929
3030before_install :
3131 - wget http://bit.ly/miniconda -O miniconda.sh
3232 - bash miniconda.sh -b -p $HOME/miniconda
3333 - export PATH="$HOME/miniconda/bin:$PATH"
3434 - conda update --yes --all
3535 - conda config --add channels conda-forge --force
36- - conda create --yes -n TEST python=$TRAVIS_PYTHON_VERSION --file requirements.txt --file requirements-dev.txt
36+ - conda create --yes -n TEST python=$TRAVIS_PYTHON_VERSION phantomjs --file requirements.txt --file requirements-dev.txt
3737 - source activate TEST
3838
39- - if [[ "$TRAVIS_PYTHON_VERSION" != "3.5 " ]]; then
39+ - if [[ "$TRAVIS_PYTHON_VERSION" == "2.7 " ]]; then
4040 conda install --yes mock ;
4141 fi
42- - if [[ "$TRAVIS_PYTHON_VERSION" == "3.5 " ]]; then
42+ - if [[ "$TRAVIS_PYTHON_VERSION" == "3.6 " ]]; then
4343 conda install --yes doctr ;
4444 fi
4545
@@ -48,21 +48,17 @@ install:
4848 - python setup.py sdist && version=$(python setup.py --version) && pushd dist && pip install folium-${version}.tar.gz && popd
4949
5050script :
51- - if [[ $TEST_TARGET == 'branca_release ' ]]; then
51+ - if [[ $TEST_TARGET == 'default ' ]]; then
5252 py.test -vv --ignore=tests/notebooks/test_notebooks.py ;
5353 fi
5454
55- - if [[ $TEST_TARGET == 'branca_latest ' ]]; then
55+ - if [[ $TEST_TARGET == 'latest_branca ' ]]; then
5656 pip install git+https://github.com/python-visualization/branca.git ;
57- python setup.py test ;
58- fi
59-
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 ;
57+ py.test -vv --ignore=tests/notebooks/test_notebooks.py ;
6358 fi
6459
6560 - if [[ $TEST_TARGET == 'notebooks' ]]; then
61+ 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 ;
6662 py.test -vv tests/notebooks/test_notebooks.py ;
67- doctr deploy --built-docs=examples/results --gh-pages-docs= gallery ;
63+ doctr deploy --built-docs=examples/results gallery ;
6864 fi
0 commit comments