Skip to content

Commit 6b00fe4

Browse files
authored
Move Tests to Appveyor (#1801)
* print python version * update path vars * update linux cmd * update linux cmd * update linux cmd * update whitelist in tox * update passenv * update tox whitelisting * update tox whitelisting
1 parent bb930cc commit 6b00fe4

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

appveyor.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,19 @@ image: Ubuntu
44
environment:
55
matrix:
66
- TOXENV: py27
7+
PYTHON_VERSION: '2.7'
78
- TOXENV: py36
9+
PYTHON_VERSION: '3.6'
810
- TOXENV: py37
11+
PYTHON_VERSION: '3.7'
912
- TOXENV: py38
13+
PYTHON_VERSION: '3.8'
1014

1115
build: off
1216

1317
install:
18+
- sh: "source ${HOME}/venv${PYTHON_VERSION}/bin/activate"
19+
- sh: "python --version"
1420
- make init
1521

1622
test_script:

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ envlist = py27, py36, py37, py38
1717
# resource. Tox tries to simulate Py3 behavior in Py2.7 by setting PYTHONHASHSEED to random values on every run.
1818
# This results in unit test failures. This happens only within Tox. To fix this, we are unsetting the seed value
1919
# specifically for Py27 in Tox.
20-
passenv = AWS*
20+
passenv = AWS* CODECOV_TOKEN
2121
setenv = PYTHONHASHSEED = 0
2222
commands = make pr2.7
2323
codecov
@@ -26,5 +26,5 @@ commands = make pr2.7
2626
commands = make pr
2727
codecov
2828
deps = codecov>=1.4.0
29-
passenv = AWS* TONXENV CI TRAVIS TRAVIS_*
30-
whitelist_externals = make, black
29+
passenv = AWS* TONXENV CI TRAVIS TRAVIS_* CODECOV_TOKEN
30+
whitelist_externals = make, black, codecov

0 commit comments

Comments
 (0)