File: .travis.yml

package info (click to toggle)
python-future 0.16.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 4,316 kB
  • sloc: python: 42,522; makefile: 141; sh: 41
file content (25 lines) | stat: -rw-r--r-- 706 bytes parent folder | download | duplicates (3)
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"

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