blob: 8b318f50afc5bc78f845d686ea70ccd5023f673e (
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
|
# Tell Travis what to do
# https://travis-ci.org/nedbat/coveragepy
language: python
cache: pip
sudo: false
python:
- '2.7'
- '3.4'
- '3.5'
- '3.6'
- 'pypy'
env:
matrix:
- COVERAGE_COVERAGE=no
- COVERAGE_COVERAGE=yes
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
|