Skip to content

Commit abf2fc8

Browse files
committed
Test matrix
1 parent a425353 commit abf2fc8

1 file changed

Lines changed: 17 additions & 9 deletions

File tree

.travis.yml

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,23 @@ language: python
22

33
sudo: false
44

5-
python:
6-
- 2.7
7-
- 3.4
8-
- 3.5
5+
matrix:
6+
fast_finish: true
7+
include:
8+
- python: 2.7
9+
env: TEST_TARGET=release
10+
- python: 3.5
11+
env: TEST_TARGET=release
12+
- python: 3.5
13+
env: TEST_TARGET=coding_standards
14+
- python: 3.5
15+
env: TEST_TARGET=notebooks
16+
allow_failures:
17+
- python: 2.7
18+
env: TEST_TARGET=branca_latest
19+
- python: 3.5
20+
env: TEST_TARGET=branca_latest
921

10-
env:
11-
- TEST_TARGET=branca_release
12-
- TEST_TARGET=branca_latest
13-
- TEST_TARGET=coding_standards
1422

1523
before_install:
1624
- wget http://bit.ly/miniconda -O miniconda.sh
@@ -30,7 +38,7 @@ install:
3038
- python setup.py sdist && version=$(python setup.py --version) && pushd dist && pip install folium-${version}.tar.gz && popd
3139

3240
script:
33-
- if [[ $TEST_TARGET == 'branca_release' ]]; then
41+
- if [[ 'release' == *"$TEST_TARGET"* ]]; then
3442
python setup.py test ;
3543
fi
3644

0 commit comments

Comments
 (0)