This repository has been archived by the owner on Sep 30, 2020. It is now read-only.
/
.travis.yml
82 lines (71 loc) · 2.1 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
branches:
only:
- master
language: python
matrix:
include:
- name: "Python 3.5 on Linux"
python: 3.5
- name: "Python 3.6 on Linux"
python: 3.6
- name: "Python 3.7 on Linux"
python: 3.7
- name: "Python 3.8 on Linux"
python: 3.8
- name: "Python 3.7.4 on macOS"
os: osx
osx_image: xcode11
language: shell
- name: "Python 3.5.4 on Windows"
os: windows
language: shell
before_install:
- choco install python --version 3.5.4
- python --version
- python -m pip install pytest
- python -m pip install flask
install:
- python -m pip install -r requirements.txt
env: PATH=/c/Python35:/c/Python35/Scripts:$PATH
- name: "Python 3.6.7 on Windows"
os: windows
language: shell
before_install:
- choco install python --version 3.6.7
- python --version
- python -m pip install pytest
- python -m pip install flask
install:
- python -m pip install -r requirements.txt
env: PATH=/c/Python36:/c/Python36/Scripts:$PATH
- name: "Python 3.7.4 on Windows"
os: windows
language: shell
before_install:
- choco install python --version 3.7.4
- python --version
- python -m pip install pytest
- python -m pip install flask
install:
- python -m pip install -r requirements.txt
env: PATH=/c/Python37:/c/Python37/Scripts:$PATH
- name: "Python 3.8.0 on Windows"
os: windows
language: shell
before_install:
- choco install python --version 3.8.0
- python --version
- python -m pip install pytest
- python -m pip install flask
install:
- python -m pip install -r requirements.txt
env: PATH=/c/Python38:/c/Python38/Scripts:$PATH
before_install:
- python3 --version
- pip3 install -U pip # update pip, because why not
- pip3 install -U pytest # dev only dependencies
- pip3 install -U flask
install:
- pip3 install -r requirements.txt
script:
- pytest