forked from peterbrittain/asciimatics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
62 lines (55 loc) · 1.32 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
62
---
sudo: false
language: python
env:
global:
COVERALLS_PARALLEL=true
matrix:
fast_finish: true
include:
- name: "2.7 Linux"
env: BUILD=test FORCE_TTY=Y
python: '2.7'
script: ./noserun.sh
- name: "3.5 Linux"
env: BUILD=test FORCE_TTY=Y
python: '3.5'
script: ./noserun.sh
- name: "3.6 Linux"
env: BUILD=test FORCE_TTY=Y
python: '3.6'
script: ./noserun.sh
- name: "3.7 Linux"
env: BUILD=test FORCE_TTY=Y
python: '3.7'
script: ./noserun.sh
- name: "pypy Linux"
env: BUILD=test FORCE_TTY=Y
python: 'pypy'
script: ./noserun.sh
- name: "3.8 Windows"
os: windows
language: shell # 'language: python' is an error on Travis CI Windows
before_install:
- choco install python --version 3.8.0
- python -m pip install --upgrade pip
- python -m pip install pywin32
env: PATH=/c/Python38:/c/Python38/Scripts:$PATH BUILD=test FORCE_TTY=Y
script: ./noserun.bat
- name: "Docs"
env: BUILD=docs
python: '3.6'
script: ./builddocs.sh
install:
- pip install -r requirements/dev.txt
after_success:
- |
set -ex
case "$BUILD" in
test)
coveralls
;;
esac
set +ex
notifications:
webhooks: https://coveralls.io/webhook