forked from tonysimpson/nanomsg-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor_yml.disabled
50 lines (41 loc) · 1.1 KB
/
appveyor_yml.disabled
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
# What Python version is installed where:
# http://www.appveyor.com/docs/installed-software#python
image:
- Visual Studio 2019
environment:
global:
PYTHONIOENCODING: utf-8
matrix:
- PYTHON: "C:\\Python36-x64"
TOX_ENV: "py36"
- PYTHON: "C:\\Python37-x64"
TOX_ENV: "py37"
- PYTHON: "C:\\Python38-x64"
TOX_ENV: "py38"
- PYTHON: "C:\\Python39-x64"
TOX_ENV: "py39"
## Before repo cloning
init:
## without this, temporary directory could be created in current dir
## which will make some tests fail.
- mkdir C:\TMP
- set PATH=%PYTHON%;%PYTHON%\Scripts;%PATH%
- set TOX_TESTENV_PASSENV=DISTUTILS_USE_SDK MSSdk INCLUDE LIB
- python -V
## After repo cloning
install:
- cmd: cd c:\tools\vcpkg
- cmd: vcpkg integrate install
- cmd: vcpkg install nanomsg:x64-windows
- cmd: cd "%APPVEYOR_BUILD_FOLDER%"
build: false
## Before tests
before_test:
- python -m pip install --upgrade pip wheel
- pip install tox virtualenv codecov
## Custom test script
test_script:
## real tests
- "%PYTHON%/Scripts/tox -e %TOX_ENV%"
## installable
- pip install .