Changeset 633400d for .appveyor.yml
- Timestamp:
- Dec 5, 2018, 10:34:39 PM (5 years ago)
- Branches:
- feature/cnn, feature/crepe, feature/pitchshift, feature/timestretch, fix/ffmpeg5, master
- Children:
- 283a619a
- Parents:
- 5b46bc3 (diff), f19db54 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
.appveyor.yml
r5b46bc3 r633400d 8 8 # pre-installed python version, see: 9 9 # http://www.appveyor.com/docs/installed-software#python 10 - PYTHON : "C:\\Python27"11 PYTHON_VERSION: "2.7.x"12 PYTHON_ARCH: "32"10 - PYTHONDIR: C:\Python27 11 PYTHON_VERSION: 2.7.x 12 PYTHON_ARCH: 32 13 13 14 - PYTHON : "C:\\Python27-x64"15 PYTHON_VERSION: "2.7.x"16 PYTHON_ARCH: "64"14 - PYTHONDIR: C:\Python27-x64 15 PYTHON_VERSION: 2.7.x 16 PYTHON_ARCH: 64 17 17 18 - PYTHON : "C:\\Python34"19 PYTHON_VERSION: "3.4.x"20 PYTHON_ARCH: "32"18 - PYTHONDIR: C:\Python35 19 PYTHON_VERSION: 3.5.x 20 PYTHON_ARCH: 32 21 21 22 - PYTHON : "C:\\Python34-x64"23 PYTHON_VERSION: "3.4.x"24 PYTHON_ARCH: "64"22 - PYTHONDIR: C:\Python35-x64 23 PYTHON_VERSION: 3.5.x 24 PYTHON_ARCH: 64 25 25 26 - PYTHON : "C:\\Python35"27 PYTHON_VERSION: "3.5.x"28 PYTHON_ARCH: "32"26 - PYTHONDIR: C:\Python36 27 PYTHON_VERSION: 3.6.x 28 PYTHON_ARCH: 32 29 29 30 - PYTHON: "C:\\Python35-x64" 31 PYTHON_VERSION: "3.5.x" 32 PYTHON_ARCH: "64" 33 # add path required to run preprocessor step 34 PATH_EXTRAS: "c:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\bin" 30 - PYTHONDIR: C:\Python36-x64 31 PYTHON_VERSION: 3.6.x 32 PYTHON_ARCH: 64 33 34 - PYTHONDIR: C:\Python37 35 PYTHON_VERSION: 3.7.x 36 PYTHON_ARCH: 32 37 38 - PYTHONDIR: C:\Python37-x64 39 PYTHON_VERSION: 3.7.x 40 PYTHON_ARCH: 64 35 41 36 42 install: 37 38 43 - ECHO "Installed SDKs:" 39 44 - ps: "ls \"C:/Program Files/Microsoft SDKs/Windows\"" 40 45 46 - "SET PATH=%PYTHONDIR%;%PYTHONDIR%\\Scripts;%PATH%" 47 41 48 # Check that we have the expected version and architecture for Python 42 - "%PYTHON%\\python.exe --version" 43 - "%PYTHON%\\python.exe -c \"import struct; print(struct.calcsize('P') * 8)\"" 49 - "python --version" 50 - "python -c \"import struct; print(struct.calcsize('P') * 8)\"" 51 52 - "python -m pip install --disable-pip-version-check --user --upgrade pip" 53 - "python -m pip install --upgrade setuptools" 44 54 45 55 # We need wheel installed to build wheels 46 - " %PYTHON%\\python.exe-m pip install wheel"56 - "python -m pip install wheel" 47 57 48 - "SET PATH=%PATH_EXTRAS%;%PYTHON%;%PYTHON%\\Scripts;%PATH%" 49 50 - "pip install --disable-pip-version-check --user --upgrade pip" 51 - "pip install --upgrade setuptools" 58 - "pip install -r requirements.txt" 52 59 53 60 before_build: 54 - curl -fsS -o waf https://waf.io/waf-1.8.22 55 - curl -fsS -o waf.bat https://raw.githubusercontent.com/waf-project/waf/master/utils/waf.bat 61 - "bash scripts/get_waf.sh" 56 62 57 63 build_script: 58 # build python module without using libaubio 59 - "pip install -r requirements.txt" 60 - "python setup.py build" 61 - "pip install ." 64 # also build libaubio with waf 65 - python waf configure build install --verbose --msvc_version="msvc 14.0" 66 # clean before building python package 67 - python waf distclean 68 # build, upload and install wheel (inspired by numpy's appveyor) 69 - ps: | 70 pip wheel -v -v -v --wheel-dir=dist . 71 ls dist -r | Foreach-Object { 72 Push-AppveyorArtifact $_.FullName 73 pip install $_.FullName 74 } 75 76 test_script: 62 77 - "python python\\demos\\demo_create_test_sounds.py" 63 78 - "nose2 --verbose" 64 # clean up65 - waf distclean66 # build libaubio67 - waf configure build --verbose68 # build python module using libaubio dll69 - "python setup.py build"
Note: See TracChangeset
for help on using the changeset viewer.