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

language: python

sudo: false
python:
  - '2.6'
  - '2.7'
  - '3.3'
  - '3.4'
  - '3.5'
  - '3.6'
  - 'pypy'

env:
  matrix:
    - COVERAGE_COVERAGE=no
    - COVERAGE_COVERAGE=yes

sudo: false

install:
  - pip install -r requirements/ci.pip

script:
  - tox
  - if [[ $COVERAGE_COVERAGE == 'yes' ]]; then python igor.py combine_html; fi
  - if [[ $COVERAGE_COVERAGE == 'yes' ]]; then pip install codecov; fi
  - if [[ $COVERAGE_COVERAGE == 'yes' ]]; then codecov -X gcov --file coverage.xml; fi