File tree Expand file tree Collapse file tree 2 files changed +9
-24
lines changed Expand file tree Collapse file tree 2 files changed +9
-24
lines changed Original file line number Diff line number Diff line change 1
1
environment :
2
-
3
2
matrix :
4
-
5
- - PYTHON : " C: \\ Python35 "
6
- - PYTHON : " C: \\ Python36-x64 "
3
+ - TOXENV : py36
4
+ - TOXENV : py37
5
+ - TOXENV : py38
7
6
8
7
install :
9
8
10
- # Install Python (from the official .msi of https://python.org) and pip when
11
- # not already installed.
12
- - ps : if (-not(Test-Path($env:PYTHON))) { & appveyor\install.ps1 }
13
-
14
- # Prepend newly installed Python to the PATH of this build
15
- - " SET PATH=%PYTHON%;%PYTHON%\\ Scripts;%PATH%"
16
-
17
- - " python -m pip install --upgrade pip"
18
-
19
- - " pip install --editable ."
20
-
21
- - " pip install -r requirements-dev.txt"
9
+ # Install Tox
10
+ - pip install tox==3.23.0
22
11
23
12
build : off
24
13
25
14
test_script :
26
-
27
- - ps : py.test --reruns 3 --cov=ibm_watson
15
+ - tox
28
16
29
17
deploy : off
30
18
31
19
matrix :
32
- fast_finish : true
33
-
20
+ fast_finish : true
Original file line number Diff line number Diff line change @@ -8,12 +8,10 @@ commands = pylint ibm_watson test examples
8
8
9
9
[testenv]
10
10
passenv = TOXENV CI TRAVIS*
11
+ deps = -r{toxinidir}/requirements.txt
12
+ commands_pre = pip install -r{toxinidir}/requirements-dev.txt
11
13
commands =
12
14
py.test --reruns 3 --cov =ibm_watson
13
15
codecov -e TOXENV
14
- deps =
15
- -r{toxinidir}/requirements.txt
16
- -r{toxinidir}/requirements-dev.txt
17
- --upgrade pip ==20.3.3
18
16
usedevelop = True
19
17
exclude = .venv,.git,.tox,docs
You can’t perform that action at this time.
0 commit comments