-
Notifications
You must be signed in to change notification settings - Fork 175
Expand file tree
/
Copy path.travis.yml
More file actions
65 lines (65 loc) · 1.68 KB
/
.travis.yml
File metadata and controls
65 lines (65 loc) · 1.68 KB
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
63
64
65
language: python
os: linux
jobs:
include:
# docs build
- name: Docs (py36)
python: 3.6
install: make init
script: make docs
after_script: []
# linux
- python: 2.7
- python: 3.5
- python: 3.6
- python: 3.7
- python: 3.8
# OSX
- name: OSX Python 2.7
os: osx
language: shell
before_install:
- cp -fv `which python2` `which python` || true
- cp -fv `which pip2` `which pip` || true
- pip install --upgrade pip
after_script: []
- name: OSX Python 3.7
os: osx
language: shell
before_install:
- cp -fv `which python3` `which python` || true
- cp -fv `which pip3` `which pip` || true
- pip install --upgrade pip
after_script: []
# Windows
- name: Win Python 3.6
language: shell
os: windows
env: PATH=/c/Python36:/c/Python36/Scripts:$PATH
before_install:
- choco install python --version 3.6.8
- python -m pip install --upgrade pip
after_script: []
- name: Win Python 3.7
language: shell
os: windows
env: PATH=/c/Python37:/c/Python37/Scripts:$PATH
before_install:
- choco install python --version 3.7.4
- python -m pip install --upgrade pip
after_script: []
- name: Win Python 3.8
language: shell
os: windows
env: PATH=/c/Python38:/c/Python38/Scripts:$PATH
before_install:
- choco install python --version 3.8.2
- python -m pip install --upgrade pip
after_script: []
install:
- pip install -r requirements.txt
- pip install coveralls
script:
- PYTHONHASHSEED=0 pytest --cov=steam tests
after_script:
- coveralls