forked from brunns/mbtest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
82 lines (82 loc) · 2.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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
language: python
dist: focal
matrix:
allow_failures:
- os: windows
- os: osx
- python: 3.10-dev
include:
- python: 3.9
env:
- TOX_ENV=py39
- python: 3.8
env:
- TOX_ENV=py38
- python: 3.7
env:
- TOX_ENV=py37
- python: 3.6
env:
- TOX_ENV=py36
- python: 3.10-dev
env:
- TOX_ENV=py310
- python: 3.6
env:
- TOX_ENV=pypy3.6
- os: osx
language: generic
python: 3.7
env:
- TOX_ENV=py37
- os: windows
language: sh
python: 3.9
before_install:
- choco install python --version=3.9.0
- choco install nodejs
- export PATH="/c/Python39:/c/Python39/Scripts:/c/Program Files/nodejs:$PATH"
- python -m pip install --upgrade pip wheel tox
env:
- TOX_ENV=py39
- python: 3.9
env:
- TOX_ENV=check-format
- python: 3.9
env:
- TOX_ENV=flake8
- python: 3.9
env:
- TOX_ENV=bandit
- python: 3.9
env:
- TOX_ENV=safety
- python: 3.9
env:
- TOX_ENV=publish-coverage
- secure: "iBpfQQnq7LqJC9Tc4M7EuRiK5RSZLjsmacp6Ns9obpkkHQyJFWS80760BOD8iBsi9cor5w6z0JzLBIJYLGRZAmUNW7y76K+NKXs9pEn/i6mF7V8rXCzU6tyJ28xH6csNt9KAkoHIbXmt+0TAa4tN+uCRq2c7rHVbuarCfQBVislpJZl9qz61WVvDBfxpefL4VKCkteHxNTGMdZvw0wnc1+RvluNLeuNQ6TpPnJ7iS2FPGXOOMhcj26ZVL5cPMqIwX5IIo2JlWczMqXYWwoN+PC+4YlZclH+c73yl3XcZL9twq4g1cvW39HKAd5QDpQPapLep+3OF39bBiYetlqLUImHgCI/IwufV7RSceW+HUv1rqTVIteglRWhmR1ePZYeuJxLsuGnIbKRJcUnob7spk2Oxwr+ZrvqqC3+ivSpaPQiZjtIp2mdTEvetWm6X7xjMvk8FQKJZedp8CaRO8TEd9U5Cy3XxCA/hXNIThhxWtkpCwqmGs/VGV6Ao6swsuN/z9YxUQ2uIKvml7KwzCj1QYOhpHkdcxRGyTy/xoEUvQ4Vm7XGcrxksUKKBu1K9VCIdANo73w0WwTM6BPSWiMKDMHCUaJFqLiSr3gZwT2oUrPt83f9THdY7hl67NeZB7v0DHm/c4BSXf7nrkWmxREAUd86KRcrdczqe7NIJJGzpkRM="
- python: 3.9
env:
- TOX_ENV=py39
- MBTEST_VERSION=2.2
- python: 3.9
sudo: yes
env:
- TOX_ENV=py39
- MBTEST_VERSION=2.0
- python: 3.9
sudo: yes
env:
- TOX_ENV=py39
- MBTEST_VERSION=1.16
before_install:
- nvm install 12
- pip install --upgrade tox
install:
- python --version
- pip --version
- node --version
- npm --version
- npm install mountebank@"${MBTEST_VERSION:-2.3}" --production
script:
- tox -e $TOX_ENV