source:
.appveyor.yml
@
3cb2a52
Last change on this file since 3cb2a52 was ac26526, checked in by , 6 years ago | |
---|---|
|
|
File size: 2.0 KB |
Rev | Line | |
---|---|---|
[e84f7b9] | 1 | # appveyor configuration. See http://www.appveyor.com/docs/appveyor-yml |
[a0f0f00] | 2 | # and http://www.appveyor.com/docs/installed-software#python |
[c4c5130] | 3 | |
4 | environment: | |
5 | ||
6 | matrix: | |
[e0c74c2] | 7 | |
8 | # pre-installed python version, see: | |
9 | # http://www.appveyor.com/docs/installed-software#python | |
[3cc0022] | 10 | - PYTHONDIR: "C:\\Python27" |
[e0c74c2] | 11 | PYTHON_VERSION: "2.7.x" |
12 | PYTHON_ARCH: "32" | |
13 | ||
[3cc0022] | 14 | - PYTHONDIR: "C:\\Python27-x64" |
[e0c74c2] | 15 | PYTHON_VERSION: "2.7.x" |
16 | PYTHON_ARCH: "64" | |
17 | ||
[3cc0022] | 18 | - PYTHONDIR: "C:\\Python34" |
[e0c74c2] | 19 | PYTHON_VERSION: "3.4.x" |
20 | PYTHON_ARCH: "32" | |
21 | ||
[3cc0022] | 22 | - PYTHONDIR: "C:\\Python34-x64" |
[e0c74c2] | 23 | PYTHON_VERSION: "3.4.x" |
24 | PYTHON_ARCH: "64" | |
25 | ||
[3cc0022] | 26 | - PYTHONDIR: "C:\\Python35" |
[e0c74c2] | 27 | PYTHON_VERSION: "3.5.x" |
28 | PYTHON_ARCH: "32" | |
29 | ||
[3cc0022] | 30 | - PYTHONDIR: "C:\\Python35-x64" |
[e0c74c2] | 31 | PYTHON_VERSION: "3.5.x" |
32 | PYTHON_ARCH: "64" | |
[c785cc2] | 33 | # add path required to run preprocessor step |
34 | PATH_EXTRAS: "c:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\bin" | |
[c4c5130] | 35 | |
36 | install: | |
37 | ||
38 | - ECHO "Installed SDKs:" | |
39 | - ps: "ls \"C:/Program Files/Microsoft SDKs/Windows\"" | |
40 | ||
41 | # Check that we have the expected version and architecture for Python | |
[3cc0022] | 42 | - "%PYTHONDIR%\\python.exe --version" |
43 | - "%PYTHONDIR%\\python.exe -c \"import struct; print(struct.calcsize('P') * 8)\"" | |
[a0f0f00] | 44 | |
[ac26526] | 45 | - "%PYTHONDIR%\\python.exe -m pip install --disable-pip-version-check --user --upgrade pip" |
46 | - "%PYTHONDIR%\\python.exe -m pip install --upgrade setuptools" | |
47 | ||
[a0f0f00] | 48 | # We need wheel installed to build wheels |
[3cc0022] | 49 | - "%PYTHONDIR%\\python.exe -m pip install wheel" |
[e84f7b9] | 50 | |
[3cc0022] | 51 | - "SET PATH=%PATH_EXTRAS%;%PYTHONDIR%;%PYTHONDIR%\\Scripts;%PATH%" |
[e0c74c2] | 52 | |
[e84f7b9] | 53 | before_build: |
[92ab78e] | 54 | - "bash scripts/get_waf.sh" |
[e84f7b9] | 55 | |
56 | build_script: | |
[e0c74c2] | 57 | # build python module without using libaubio |
[ac26526] | 58 | - "%PYTHONDIR%\\python.exe -m pip install -r requirements.txt" |
[e0c74c2] | 59 | - "python setup.py build" |
[ac26526] | 60 | - "%PYTHONDIR%\\python.exe -m pip install ." |
[e0c74c2] | 61 | - "python python\\demos\\demo_create_test_sounds.py" |
[e087a50] | 62 | - "nose2 --verbose" |
[e0c74c2] | 63 | # clean up |
[bf6df1c] | 64 | - "python waf distclean" |
[e0c74c2] | 65 | # build libaubio |
[e54361e] | 66 | - python waf configure build --verbose --msvc_version="msvc 14.0" |
Note: See TracBrowser
for help on using the repository browser.