File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,25 +2,15 @@ language: python
22
33sudo : false
44
5- notifications :
6- email : false
7-
8- matrix :
9- fast_finish : true
10- include :
11- - python : 2.7
12- env : TEST_TARGET=branca_release
13- - python : 3.4
14- env : TEST_TARGET=branca_release
15- - python : 3.5
16- env : TEST_TARGET=branca_release
17- allow_failures :
18- - python : 3.5
19- env : TEST_TARGET=branca_latest
20- - python : 3.4
21- env : TEST_TARGET=branca_latest
22- - python : 2.7
23- env : TEST_TARGET=branca_latest
5+ python :
6+ - 2.7
7+ - 3.4
8+ - 3.5
9+
10+ env :
11+ - TEST_TARGET=branca_release
12+ - TEST_TARGET=branca_latest
13+ - TEST_TARGET=coding_standards
2414
2515before_install :
2616 - wget http://bit.ly/miniconda -O miniconda.sh
@@ -35,14 +25,20 @@ before_install:
3525 conda install --yes mock ;
3626 fi
3727
38- - if [[ $TEST_TARGET == 'branca_latest' ]]; then
39- pip install git+https://github.com/python-visualization/branca.git ;
40- fi
41-
4228# Test source distribution.
4329install :
4430 - python setup.py sdist && version=$(python setup.py --version) && pushd dist && pip install folium-${version}.tar.gz && popd
4531
4632script :
47- - python setup.py test
48- - find . -type f -name "*.py" ! -name 'conf.py' | xargs flake8 --max-line-length=100
33+ - if [[ $TEST_TARGET == 'branca_release' ]]; then
34+ python setup.py test ;
35+ fi
36+
37+ - if [[ $TEST_TARGET == 'branca_latest' ]]; then
38+ pip install git+https://github.com/python-visualization/branca.git ;
39+ python setup.py test ;
40+ fi
41+
42+ - if [[ $TEST_TARGET == 'coding_standards' ]]; then
43+ find . -type f -name "*.py" ! -name 'conf.py' | xargs flake8 --max-line-length=100 ;
44+ fi
You can’t perform that action at this time.
0 commit comments