forked from NeurodataWithoutBorders/pynwb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
44 lines (36 loc) · 1.09 KB
/
appveyor.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
build: false
branches:
only:
- dev
environment:
matrix:
- PYTHON_VERSION: 2.7
PYTHON: C:\\Python27-x64
TEST_TOX_ENV: py27
COVERAGE_TOX_ENV: coverage-py27
BUILD_TOX_ENV: build-py27
TEST_WHEELINSTALL_ENV: wheelinstall-py27
- PYTHON_VERSION: 3.5
PYTHON: C:\\Python35-x64
TEST_TOX_ENV: py35
COVERAGE_TOX_ENV: coverage-py35
BUILD_TOX_ENV: build-py35
TEST_WHEELINSTALL_ENV: wheelinstall-py35
- PYTHON_VERSION: 3.6
PYTHON: C:\\Python36-x64
TEST_TOX_ENV: py36
COVERAGE_TOX_ENV: coverage-py36
BUILD_TOX_ENV: build-py36
TEST_WHEELINSTALL_ENV: wheelinstall-py36
init:
- "ECHO %PYTHON% %PYTHON_VERSION%"
- "set PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
- pip install wheel
- pip install tox
test_script:
- cd %APPVEYOR_BUILD_FOLDER%
- tox -e %TEST_TOX_ENV%
- tox -e %BUILD_TOX_ENV%
- ps: (Get-Item $env:APPVEYOR_BUILD_FOLDER\dist\*none-any.whl).Name | ForEach-Object {tox -e $env:TEST_WHEELINSTALL_ENV --recreate --installpkg $env:APPVEYOR_BUILD_FOLDER\dist\$_}
after_test:
- tox -e %COVERAGE_TOX_ENV%