forked from peterbrittain/asciimatics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
54 lines (47 loc) · 956 Bytes
/
.travis.yml
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
43
44
45
46
47
48
49
50
51
52
53
54
---
sudo: false
language: python
matrix:
fast_finish: true
include:
- env: BUILD=test
python: '2.7'
- env: BUILD=test
python: '3.3'
- env: BUILD=test
python: '3.4'
- env: BUILD=test
python: '3.5'
- env: BUILD=test
python: '3.6'
- env: BUILD=test
python: 'pypy'
- env: BUILD=docs
python: '3.6'
install:
- pip install -r requirements/dev.txt
script:
- |
set -ex
case "$BUILD" in
test)
nosetests --with-coverage --cover-package=asciimatics
;;
docs)
cd doc && cp source/conf_orig.py source/conf.py && ./build.sh
;;
esac
set +ex
after_success:
- |
set -ex
case "$BUILD" in
test)
mv .coverage .coverage.travis
appveyor-artifacts download
python coverage_fix.py */.coverage
coverage combine .coverage.travis */.coverage
coveralls
;;
esac
set +ex