forked from pysmt/pysmt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
90 lines (68 loc) · 2.2 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
image:
- Visual Studio 2015
environment:
matrix:
- PYTHON: "C:\\Python27-x64"
PYTHON_VERSION: "2.7.x"
PYTHON_ARCH: "64"
PYSMT_SOLVER: "None"
- PYTHON: "C:\\Python36-x64"
PYTHON_VERSION: "3.6.x"
PYTHON_ARCH: "64"
PYSMT_SOLVER: "None"
- PYTHON: "C:\\Python27"
PYTHON_VERSION: "2.7.x"
PYTHON_ARCH: "32"
PYSMT_SOLVER: "z3"
- PYTHON: "C:\\Python27-x64"
PYTHON_VERSION: "2.7.x"
PYTHON_ARCH: "64"
PYSMT_SOLVER: "z3"
- PYTHON: "C:\\Python36"
PYTHON_VERSION: "3.6.x"
PYTHON_ARCH: "32"
PYSMT_SOLVER: "z3"
- PYTHON: "C:\\Python36-x64"
PYTHON_VERSION: "3.6.x"
PYTHON_ARCH: "64"
PYSMT_SOLVER: "z3"
- PYTHON: "C:\\Python27-x64"
PYTHON_VERSION: "2.7.x"
PYTHON_ARCH: "64"
PYSMT_SOLVER: "msat"
- PYTHON: "C:\\Python36-x64"
PYTHON_VERSION: "3.6.x"
PYTHON_ARCH: "64"
PYSMT_SOLVER: "msat"
install:
# Install Python (from the official .msi of http://python.org) and pip when
# not already installed.
- ps: "./ci/appveyor/install.ps1"
# Prepend newly installed Python to the PATH of this build (this cannot be
# done from inside the powershell script as it would require to restart
# the parent CMD process).
- cmd: "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
# Check that we have the expected version and architecture for Python
- cmd: "python --version"
- cmd: "python -c \"import struct; print(struct.calcsize('P') * 8)\""
- cmd: "pip install -r dev-requirements.txt"
# Update setputools
- cmd: "pip install --upgrade setuptools"
# Install the solvers
- cmd: "python install.py --confirm-agreement"
# Set and check the pythonpath
- cmd: "python install.py --env > bindings_path.bat"
- cmd: "call ./bindings_path.bat"
- ECHO "PythonPath=%PYTHONPATH%"
- ECHO "Path=%PATH%"
build: false
test_script:
- cmd: "python install.py --check"
- cmd: "nosetests -v "
# after_test:
# # If tests are successful, create a whl package for the project.
# - cmd: "python setup.py bdist_wheel bdist_wininst"
# - ps: "ls dist"
# artifacts:
# # Archive the generated wheel package in the ci.appveyor.com build report.
# - path: dist\*