Changes in .appveyor.yml [236e2a0:0b9e3b8a]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
.appveyor.yml
r236e2a0 r0b9e3b8a 8 8 # pre-installed python version, see: 9 9 # http://www.appveyor.com/docs/installed-software#python 10 - PYTHONDIR: "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 - PYTHONDIR: "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 - PYTHONDIR: "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 - PYTHONDIR: "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 - PYTHONDIR: "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 - PYTHONDIR: "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 - "%PYTHONDIR%\\python.exe --version" 43 - "%PYTHONDIR%\\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 - " %PYTHONDIR%\\python.exe-m pip install wheel"56 - "python -m pip install wheel" 47 57 48 - "SET PATH=%PATH_EXTRAS%;%PYTHONDIR%;%PYTHONDIR%\\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: … … 55 62 56 63 build_script: 57 # build python module without using libaubio 58 - "pip install -r requirements.txt" 59 - "python setup.py build" 60 - "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: 61 77 - "python python\\demos\\demo_create_test_sounds.py" 62 78 - "nose2 --verbose" 63 # clean up64 - "python waf distclean"65 # build libaubio66 - python waf configure build --verbose --msvc_version="msvc 14.0"
Note: See TracChangeset
for help on using the changeset viewer.