forked from fastavro/fastavro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
33 lines (27 loc) · 934 Bytes
/
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
branches:
only:
- master
environment:
matrix:
- PYTHON: "C:\\Python27-x64"
# Can't build on 3.4 due to https://github.com/appveyor/ci/issues/1699
# and/or https://github.com/appveyor/ci/issues/968
# - PYTHON: "C:\\Python34-x64"
- PYTHON: "C:\\Python35-x64"
- PYTHON: "C:\\Python36-x64"
install:
- "%PYTHON%\\python.exe -m pip install pytest flake8 check-manifest Cython wheel"
build: off
test_script:
- "set PYTHONPATH=%cd%"
- "set FASTAVRO_USE_CYTHON=1"
- "%PYTHON%\\python.exe setup.py build_ext --inplace"
- "%PYTHON%\\python.exe -m pytest -v tests"
after_test:
# If tests are successful, create binary packages for the project.
- "set FASTAVRO_USE_CYTHON=1"
- "%PYTHON%\\python.exe setup.py bdist_wheel"
- ps: "ls dist"
artifacts:
# Archive the generated packages in the ci.appveyor.com build report.
- path: dist\*