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

language: python

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

install:
  - if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install unittest2; fi
  - pip install PyContracts
  - 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