Skip to content

Commit fdf1ea3

Browse files
committed
Clean up .travis.yml
1 parent a86e903 commit fdf1ea3

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.travis.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,25 @@
11
language: python
2+
23
python:
34
- "3.4"
45
- "3.3"
56
- "2.7"
67
- "2.6"
8+
79
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
810
# These packages only exist on Ubuntu 13.04 and newer:
911
# before_install:
1012
# - sudo apt-get install -qq libpython2.7-testsuite libpython3.3-testsuite
1113
# No dependencies currently unless using Python 2.6.
14+
1215
install:
1316
- if [[ $TRAVIS_PYTHON_VERSION == 2.6* ]]; then pip install -r requirements_py26.txt --use-mirrors; fi
1417
- python setup.py install
18+
1519
# command to run tests, e.g. python setup.py test
16-
script: python setup.py test
20+
21+
script:
22+
# We might like to get out of the source directory before running tests to
23+
# avoid PYTHONPATH confusion? As an example, see here:
24+
# https://github.com/tornadoweb/tornado/blob/master/.travis.yml
25+
- python setup.py test

0 commit comments

Comments
 (0)