forked from dougthor42/wafer_map
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
50 lines (39 loc) · 1.41 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
50
### ----------------------
### General Configuration
### ----------------------
environment:
matrix:
- PYTHON: "C:\\Python27"
PYTHON_VERSION: "2.7.13"
PYTHON_ARCH: "32"
- PYTHON: "C:\\Python27-x64"
PYTHON_VERSION: "2.7.13"
PYTHON_ARCH: "64"
- PYTHON: "C:\\Python35"
PYTHON_VERSION: "3.5.2"
PYTHON_ARCH: "32"
- PYTHON: "C:\\Python35-x64"
PYTHON_VERSION: "3.5.2"
PYTHON_ARCH: "64"
- PYTHON: "C:\\Python36-x64"
PYTHON_VERSION: "3.6.0"
PYTHON_ARCH: "64"
install:
# Check that we have the expected version and architecture for Python
- "%PYTHON%\\python.exe --version"
# install dependencies
- "%PYTHON%\\python.exe -m pip install --upgrade pip"
- "%PYTHON%\\python.exe -m pip install wheel"
- "%PYTHON%\\python.exe -m pip install -r requirements.txt"
- "%PYTHON%\\python.exe -m pip install -r dev-requirements.txt"
build: off # Not a C# project, build stuff at the test step instead.
test_script:
# Build the compiled extension and run the project tests
- "%PYTHON%\\python.exe --version"
- "%PYTHON%\\python.exe -m pytest -ra wafer_map --cov wafer_map --cov-report term"
after_test:
# if tests OK, create whl package
- "%PYTHON%\\python.exe setup.py sdist bdist_wheel"
artifacts:
# Archive the generated wheel package in the ci.appveyor.com build report.
- path: dist\*.whl