forked from 3rdIteration/btcrecover
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
85 lines (84 loc) · 4 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
83
84
# Run BTCRecover tests on all supported platforms and python versions
language: python # this works for Linux but is an error on macOS or Windows
jobs:
include:
- name: "Python 3.9 on Bionic Linux"
dist: bionic
Python: # this works for Linux but is ignored on macOS or Windows
- 3.9
- name: "Python 3.8 on Bionic Linux"
dist: bionic
Python: # this works for Linux but is ignored on macOS or Windows
- 3.8
- name: "Python 3.8 on Bionic Linux (With all Optional modules)"
dist: bionic
Python: # this works for Linux but is ignored on macOS or Windows
- 3.8
before_install:
- pip3 install -r requirements-full.txt
- name: "Python 3.7 on Bionic Linux"
dist: bionic
Python: # this works for Linux but is ignored on macOS or Windows
- 3.7
- name: "Python 3.6 on Bionic Linux"
dist: bionic
Python: # this works for Linux but is ignored on macOS or Windows
- 3.6
- name: "Python 3.8.6 on macOS 10.15.7"
os: osx
osx_image: xcode12.2 # Python 3.8.6 running on macOS 10.15.7
language: shell # 'language: python' is an error on Travis CI macOS
- name: "Python 3.8.6 on macOS 10.15.7 (With all optional modules)"
os: osx
osx_image: xcode12.2 # Python 3.8.6 running on macOS 10.15.7
language: shell # 'language: python' is an error on Travis CI macOS
before_install:
- pip3 install -r requirements-full.txt
- name: "Python 3.7.7 on macOS 10.14"
os: osx
osx_image: xcode11.4 # Python 3.7.7 running on macOS 10.14.6
language: shell # 'language: python' is an error on Travis CI macOS
- name: "Python 3.9.0 on Windows"
os: windows # Windows 10.0.17134 N/A Build 17134
language: shell # 'language: python' is an error on Travis CI Windows
before_install:
- choco install python --version 3.9.0
- python -m pip install --upgrade pip
env: PATH=/c/Python39:/c/Python39/Scripts:$PATH
- name: "Python 3.8.0 on Windows"
os: windows # Windows 10.0.17134 N/A Build 17134
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
env: PATH=/c/Python38:/c/Python38/Scripts:$PATH
- name: "Python 3.8.0 on Windows (With all optional modules)"
os: windows # Windows 10.0.17134 N/A Build 17134
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
- pip3 install -r requirements-full.txt
env: PATH=/c/Python38:/c/Python38/Scripts:$PATH
- name: "Python 3.7.0 on Windows"
os: windows # Windows 10.0.17134 N/A Build 17134
language: shell # 'language: python' is an error on Travis CI Windows
before_install:
- choco install python --version 3.7.0
- python -m pip install --upgrade pip
env: PATH=/c/Python37:/c/Python37/Scripts:$PATH
- name: "Python 3.6.0 on Windows"
os: windows # Windows 10.0.17134 N/A Build 17134
language: shell # 'language: python' is an error on Travis CI Windows
before_install:
- choco install python --version 3.6.0
- python -m pip install --upgrade pip
env: PATH=/c/Python36:/c/Python36/Scripts:$PATH
allow_failures:
# - env: PATH=/c/Python39:/c/Python39/Scripts:$PATH
# - env: PATH=/c/Python37:/c/Python37/Scripts:$PATH
# - env: PATH=/c/Python36:/c/Python36/Scripts:$PATH
install: pip3 install -r requirements.txt
# 'python' points to Python 2.7 on macOS but points to Python 3.8 on Linux and Windows
# 'python3' is a 'command not found' error on Windows but 'py' works on Windows only
script: python3 run-all-tests.py --no-pause -vv || python run-all-tests.py --no-pause -vv