forked from anhaidgroup/py_stringmatching
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor_test.yml
46 lines (34 loc) · 1.09 KB
/
appveyor_test.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
environment:
matrix:
- python : 27
- python : 27-x64
- python : 34
- python : 34-x64
- python : 35
- python : 35-x64
install:
- "SET PATH=C:\\Python%PYTHON%;c:\\Python%PYTHON%\\scripts;%PATH%"
- echo "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64 > "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64/vcvars64.bat"
# Check that we have the expected version and architecture for Python
- python --version
- "python -c \"import struct; print(struct.calcsize('P') * 8)\""
# Install pip
- python -m pip install --upgrade pip
# Install the build and runtime dependencies of the project.
- pip install setuptools numpy six nose cython wheel
# Build the project
- python setup.py build_ext --inplace
build: false
test_script:
# Nosetests take care of unit tests
- nosetests
after_test:
- ver
- python setup.py bdist_wheel
- python setup.py bdist_wininst
- python setup.py bdist_msi
artifacts:
# Archive the generated packages in the ci.appveyor.com build report.
- path: dist\*
on_success:
- echo Build succesful!