ref: 25db68c4eefe354f18c58a47eeb5643fc534eb81
dir: /.appveyor.yml/
# appveyor configuration. See http://www.appveyor.com/docs/appveyor-yml # and http://www.appveyor.com/docs/installed-software#python environment: matrix: # pre-installed python version, see: # http://www.appveyor.com/docs/installed-software#python - PYTHONDIR: "C:\\Python27" PYTHON_VERSION: "2.7.x" PYTHON_ARCH: "32" - PYTHONDIR: "C:\\Python27-x64" PYTHON_VERSION: "2.7.x" PYTHON_ARCH: "64" - PYTHONDIR: "C:\\Python34" PYTHON_VERSION: "3.4.x" PYTHON_ARCH: "32" - PYTHONDIR: "C:\\Python34-x64" PYTHON_VERSION: "3.4.x" PYTHON_ARCH: "64" - PYTHONDIR: "C:\\Python35" PYTHON_VERSION: "3.5.x" PYTHON_ARCH: "32" - PYTHONDIR: "C:\\Python35-x64" PYTHON_VERSION: "3.5.x" PYTHON_ARCH: "64" # add path required to run preprocessor step PATH_EXTRAS: "c:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\bin" install: - ECHO "Installed SDKs:" - ps: "ls \"C:/Program Files/Microsoft SDKs/Windows\"" # Check that we have the expected version and architecture for Python - "%PYTHONDIR%\\python.exe --version" - "%PYTHONDIR%\\python.exe -c \"import struct; print(struct.calcsize('P') * 8)\"" # We need wheel installed to build wheels - "%PYTHONDIR%\\python.exe -m pip install wheel" - "SET PATH=%PATH_EXTRAS%;%PYTHONDIR%;%PYTHONDIR%\\Scripts;%PATH%" - "pip install --disable-pip-version-check --user --upgrade pip" - "pip install --upgrade setuptools" before_build: - "bash scripts/get_waf.sh" build_script: # build python module without using libaubio - "pip install -r requirements.txt" - "python setup.py build" - "pip install ." - "python python\\demos\\demo_create_test_sounds.py" - "nose2 --verbose" # clean up - "python waf distclean" # build libaubio - python waf configure build --verbose --msvc_version="msvc 14.0"