forked from PythonCharmers/python-future
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
26 lines (20 loc) · 716 Bytes
/
.travis.yml
File metadata and controls
26 lines (20 loc) · 716 Bytes
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
26
language: python
python:
- "3.5"
- "3.4"
- "3.3"
- "2.7"
- "2.6"
sudo: false
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
# These packages only exist on Ubuntu 13.04 and newer:
# 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