forked from encode/httpx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
53 lines (45 loc) · 894 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
dist: xenial
language: python
cache: pip
branches:
only:
- master
python:
- 3.6
- 3.7
- 3.8
stages:
- check
- docs
- test
matrix:
include:
-
stage: check
python: 3.7
script: scripts/check
- stage: docs
python: 3.7
script: scripts/docs-build
- stage: test
os: windows
language: shell
python: 3.7
env:
PATH=/c/Python37:/c/Python37/Scripts:$PATH
before_install:
- choco install python --version 3.7
- python -m pip install --upgrade pip
install: pip install -r requirements.txt
script: scripts/test
fast_finish: true
allow_failures:
# FIX
# Some tests not yet resolved for Windows. (In progress)
- os: windows
script: scripts/test
after_script:
- if [ -f .coverage ]; then
python -m pip install codecov;
codecov --required;
fi