-
Notifications
You must be signed in to change notification settings - Fork 26
/
appveyor.yml
49 lines (41 loc) · 1.25 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
45
46
47
48
49
environment:
matrix:
- PYTHON: "C:\\Python35"
PYTHON_VERSION: "3.5"
RUN: "%PYTHON%\\python"
PIP: "%PYTHON%\\Scripts\\pip"
PYTEST: "%PYTHON%\\Scripts\\py.test"
- PYTHON: "C:\\Python36"
PYTHON_VERSION: "3.6"
RUN: "%PYTHON%\\python"
PIP: "%PYTHON%\\Scripts\\pip"
PYTEST: "%PYTHON%\\Scripts\\py.test"
- PYTHON: "C:\\Python35-x64"
PYTHON_VERSION: "3.5"
RUN: "%PYTHON%\\python"
PIP: "%PYTHON%\\Scripts\\pip"
PYTEST: "%PYTHON%\\Scripts\\py.test"
- PYTHON: "C:\\Python36-x64"
PYTHON_VERSION: "3.6"
RUN: "%PYTHON%\\python"
PIP: "%PYTHON%\\Scripts\\pip"
PYTEST: "%PYTHON%\\Scripts\\py.test"
#matrix:
# fast_finish: true
install:
- "git submodule update --init --recursive"
- "ECHO %PYTHON%"
- "ECHO %PYTHON_VERSION%%APPVEYOR_BUILD_FOLDER%"
- "set HOME=%APPVEYOR_BUILD_FOLDER%"
- "%PYTHON%\\python -m pip install ."
- "%PYTHON%\\python -m pip install .[dev]"
- "%PYTHON%\\python -m pip install .[doc]"
- "cd %HOME%"
test: off
build_script:
- "%PYTEST% --cov pyffi --cov-report=term tests"
- "%RUN% setup.py sdist bdist_wheel"
- "%RUN% setup.py build_docs -a"
artifacts:
# bdist_wheel puts your built wheel in the dist directory
- path: dist\*