forked from peterbrittain/asciimatics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
61 lines (52 loc) · 1.09 KB
/
.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
55
56
57
58
59
60
61
---
sudo: false
language: python
env:
global:
COVERALLS_PARALLEL=true
matrix:
fast_finish: true
include:
- env: BUILD=test FORCE_TTY=Y
python: '2.7'
- env: BUILD=test FORCE_TTY=Y
python: '3.5'
- env: BUILD=test FORCE_TTY=Y
python: '3.6'
- env: BUILD=test FORCE_TTY=Y
python: '3.7'
dist: xenial
sudo: true
- env: BUILD=test FORCE_TTY=Y
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 -v
;;
esac
set +ex
notifications:
webhooks: https://coveralls.io/webhook