From e0c74c2490829254d7e7a72cad4811f39afbbc69 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Mon, 16 May 2016 07:10:13 +0200 Subject: [PATCH] appveyor.yml: update, add environments, build and test python (see #55, #2) --- appveyor.yml | 42 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 41 insertions(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index a97b644e..c26fbac6 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -4,8 +4,32 @@ environment: matrix: + + # pre-installed python version, see: + # http://www.appveyor.com/docs/installed-software#python - PYTHON: "C:\\Python27" - - PYTHON: "C:\\Python33-x64" + PYTHON_VERSION: "2.7.x" + PYTHON_ARCH: "32" + + - PYTHON: "C:\\Python27-x64" + PYTHON_VERSION: "2.7.x" + PYTHON_ARCH: "64" + + - PYTHON: "C:\\Python34" + PYTHON_VERSION: "3.4.x" + PYTHON_ARCH: "32" + + - PYTHON: "C:\\Python34-x64" + PYTHON_VERSION: "3.4.x" + PYTHON_ARCH: "64" + + - PYTHON: "C:\\Python35" + PYTHON_VERSION: "3.5.x" + PYTHON_ARCH: "32" + + - PYTHON: "C:\\Python35-x64" + PYTHON_VERSION: "3.5.x" + PYTHON_ARCH: "64" install: @@ -19,9 +43,25 @@ install: # We need wheel installed to build wheels - "%PYTHON%\\python.exe -m pip install wheel" + - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%" + + - "pip install --disable-pip-version-check --user --upgrade pip" + - "pip install --upgrade setuptools" + before_build: - curl -fsS -o waf https://waf.io/waf-1.8.20 - curl -fsS -o waf.bat https://raw.githubusercontent.com/waf-project/waf/master/utils/waf.bat 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" + # clean up + - waf distclean + # build libaubio - waf configure build --verbose + # build python module using libaubio dll + - "python setup.py build" -- 2.11.0