blob: c2840e297955b2456c2f1d9210cb5b4e24eeeb92 (
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.com/nedbat/coveragepy
language: python
cache: pip
sudo: false
python:
- '2.7'
- '3.4'
- '3.5'
- '3.6'
- 'pypy'
- 'pypy3.5'
env:
matrix:
- COVERAGE_COVERAGE=no
- COVERAGE_COVERAGE=yes
install:
- pip install -r requirements/ci.pip
- pip freeze
script:
- tox
- pip freeze
- 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
|