forked from PythonCharmers/python-future
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
25 lines (20 loc) · 788 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
language: python
python:
- "3.4"
- "3.3"
- "2.7"
- "2.6"
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
# These packages only exist on Ubuntu 13.04 and newer:
# before_install:
# - sudo apt-get install -qq libpython2.7-testsuite libpython3.3-testsuite
# No dependencies currently unless using Python 2.6.
install:
- if [[ $TRAVIS_PYTHON_VERSION == 2.6* ]]; then pip install -r requirements_py26.txt --use-mirrors; fi
- python setup.py install
# command to run tests, e.g. python setup.py test
script:
# We might like to get out of the source directory before running tests to
# avoid PYTHONPATH confusion? As an example, see here:
# https://github.com/tornadoweb/tornado/blob/master/.travis.yml
- python setup.py test