feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5sampleryinfft+
Last change
on this file since f61ffb9 was
e087a50,
checked in by Paul Brossier <piem@piem.org>, 8 years ago
|
.appveyor.yml: make nose2 verbose
|
-
Property mode set to
100644
|
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 |
---|
[c4c5130] | 10 | - PYTHON: "C:\\Python27" |
---|
[e0c74c2] | 11 | PYTHON_VERSION: "2.7.x" |
---|
| 12 | PYTHON_ARCH: "32" |
---|
| 13 | |
---|
| 14 | - PYTHON: "C:\\Python27-x64" |
---|
| 15 | PYTHON_VERSION: "2.7.x" |
---|
| 16 | PYTHON_ARCH: "64" |
---|
| 17 | |
---|
| 18 | - PYTHON: "C:\\Python34" |
---|
| 19 | PYTHON_VERSION: "3.4.x" |
---|
| 20 | PYTHON_ARCH: "32" |
---|
| 21 | |
---|
| 22 | - PYTHON: "C:\\Python34-x64" |
---|
| 23 | PYTHON_VERSION: "3.4.x" |
---|
| 24 | PYTHON_ARCH: "64" |
---|
| 25 | |
---|
| 26 | - PYTHON: "C:\\Python35" |
---|
| 27 | PYTHON_VERSION: "3.5.x" |
---|
| 28 | PYTHON_ARCH: "32" |
---|
| 29 | |
---|
| 30 | - PYTHON: "C:\\Python35-x64" |
---|
| 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 |
---|
[a0f0f00] | 42 | - "%PYTHON%\\python.exe --version" |
---|
| 43 | - "%PYTHON%\\python.exe -c \"import struct; print(struct.calcsize('P') * 8)\"" |
---|
| 44 | |
---|
| 45 | # We need wheel installed to build wheels |
---|
| 46 | - "%PYTHON%\\python.exe -m pip install wheel" |
---|
[e84f7b9] | 47 | |
---|
[8ed5494] | 48 | - "SET PATH=%PATH_EXTRAS%;%PYTHON%;%PYTHON%\\Scripts;%PATH%" |
---|
[e0c74c2] | 49 | |
---|
| 50 | - "pip install --disable-pip-version-check --user --upgrade pip" |
---|
| 51 | - "pip install --upgrade setuptools" |
---|
| 52 | |
---|
[e84f7b9] | 53 | before_build: |
---|
[25d0c42] | 54 | - curl -fsS -o waf https://waf.io/waf-1.8.22 |
---|
[e84f7b9] | 55 | - curl -fsS -o waf.bat https://raw.githubusercontent.com/waf-project/waf/master/utils/waf.bat |
---|
| 56 | |
---|
| 57 | build_script: |
---|
[e0c74c2] | 58 | # build python module without using libaubio |
---|
| 59 | - "pip install -r requirements.txt" |
---|
| 60 | - "python setup.py build" |
---|
| 61 | - "pip install ." |
---|
| 62 | - "python python\\demos\\demo_create_test_sounds.py" |
---|
[e087a50] | 63 | - "nose2 --verbose" |
---|
[e0c74c2] | 64 | # clean up |
---|
| 65 | - waf distclean |
---|
| 66 | # build libaubio |
---|
[e84f7b9] | 67 | - waf configure build --verbose |
---|
[e0c74c2] | 68 | # build python module using libaubio dll |
---|
| 69 | - "python setup.py build" |
---|
Note: See
TracBrowser
for help on using the repository browser.