blob: 8a50fab1ffa9d4b7d685472220e1471abb588b9d (
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
|
# Tell Travis what to do
# https://travis-ci.org/nedbat/coveragepy
language: python
sudo: false
python:
- 2.7
# Add 3.5 so we can run on it.
# https://github.com/travis-ci/travis-ci/issues/4794#issuecomment-143568134
addons:
apt:
sources:
- deadsnakes
packages:
- python3.5
env:
- TOXENV=py26
- TOXENV=py27
- TOXENV=py33
- TOXENV=py34
- TOXENV=py35
- TOXENV=pypy
- TOXENV=py27 COVERAGE_COVERAGE=yes
sudo: false
install:
- pip install -r requirements/tox.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; fi
|