Skip to content

Commit 9ee8e9f

Browse files
committed
REPO: Fix Travis tests for 2.6.
1 parent a29e3fd commit 9ee8e9f

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.travis.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
language: python
22
python:
3-
- 3.4
4-
- 3.3
5-
- 3.2
6-
- 2.7
7-
- 2.6
3+
- "3.4"
4+
- "3.3"
5+
- "3.2"
6+
- "2.7"
7+
- "2.6"
88
install:
9+
- if ! [[ $TRAVIS_PYTHON_VERSION > '2.6' ]]; then pip install unittest2 ; fi
910
- pip install -r dev_requirements.txt
1011
- python setup.py develop
1112
script:
12-
- python -m unittest discover tests
13+
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then python -m unittest2.__main__ discover -v tests ; fi
14+
- if [[ $TRAVIS_PYTHON_VERSION != '2.6' ]]; then python -m unittest discover -v tests ; fi
1315
notifications:
1416
email:
1517

0 commit comments

Comments
 (0)