summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 7af26488128b4b04170e9f10824b927d86e6d031 (plain)
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
27
28
# Tell Travis what to do
# https://travis-ci.org/nedbat/coveragepy

language: python

sudo: false

python:
  - 2.6
  - 2.7
  - 3.3
  - 3.4
  - pypy

install:
  - if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install unittest2==1.1.0; fi
  - pip install PyContracts==1.7.6
  - python setup.py clean develop

before_script:
  - coverage debug sys
  - if [[ $TRAVIS_PYTHON_VERSION == 'pypy' ]]; then export COVERAGE_NO_EXTENSION=1; fi

script:
  - python igor.py zip_mods install_egg
  - python igor.py test_with_tracer c
  - python igor.py remove_extension
  - python igor.py test_with_tracer py