source: appveyor.yml @ c395732

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change on this file since c395732 was e0c74c2, checked in by Paul Brossier <piem@piem.org>, 9 years ago

appveyor.yml: update, add environments, build and test python (see #55, #2)

  • Property mode set to 100644
File size: 1.8 KB
Line 
1# appveyor configuration. See http://www.appveyor.com/docs/appveyor-yml
2# and http://www.appveyor.com/docs/installed-software#python
3
4environment:
5
6  matrix:
7
8    # pre-installed python version, see:
9    # http://www.appveyor.com/docs/installed-software#python
10    - PYTHON: "C:\\Python27"
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"
33
34install:
35
36  - ECHO "Installed SDKs:"
37  - ps: "ls \"C:/Program Files/Microsoft SDKs/Windows\""
38
39  # Check that we have the expected version and architecture for Python
40  - "%PYTHON%\\python.exe --version"
41  - "%PYTHON%\\python.exe -c \"import struct; print(struct.calcsize('P') * 8)\""
42
43  # We need wheel installed to build wheels
44  - "%PYTHON%\\python.exe -m pip install wheel"
45
46  - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
47
48  - "pip install --disable-pip-version-check --user --upgrade pip"
49  - "pip install --upgrade setuptools"
50
51before_build:
52  - curl -fsS -o waf https://waf.io/waf-1.8.20
53  - curl -fsS -o waf.bat https://raw.githubusercontent.com/waf-project/waf/master/utils/waf.bat
54
55build_script:
56  # build python module without using libaubio
57  - "pip install -r requirements.txt"
58  - "python setup.py build"
59  - "pip install ."
60  - "python python\\demos\\demo_create_test_sounds.py"
61  - "nose2"
62  # clean up
63  - waf distclean
64  # build libaubio
65  - waf configure build --verbose
66  # build python module using libaubio dll
67  - "python setup.py build"
Note: See TracBrowser for help on using the repository browser.