blob: 986deb6718147b19bf775db8ad72b101d5722408 (
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
31
32
33
34
35
36
37
38
39
40
41
42
|
# Tell Travis what to do
# https://travis-ci.org/nedbat/coveragepy
language: python
sudo: false
python:
- 2.7
addons:
apt:
sources:
- deadsnakes
packages:
- python3.5
- python3.5-dev
env:
- TOXENV=py26
- TOXENV=py27
- TOXENV=py33
- TOXENV=py34
- TOXENV=py35
- TOXENV=pypy
- TOXENV=py26 COVERAGE_COVERAGE=yes
- TOXENV=py27 COVERAGE_COVERAGE=yes
- TOXENV=py33 COVERAGE_COVERAGE=yes
- TOXENV=py34 COVERAGE_COVERAGE=yes
- TOXENV=py35 COVERAGE_COVERAGE=yes
- TOXENV=pypy 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
|