From: Paul Brossier Date: Fri, 22 Jul 2016 20:43:38 +0000 (+0200) Subject: .appveyor.yml: hide X-Git-Tag: 0.4.4~273 X-Git-Url: https://git.aubio.org/?p=aubio.git;a=commitdiff_plain;h=f6776882e3765a1054c170fbbd3ae0fbc21e4ba8 .appveyor.yml: hide --- diff --git a/.appveyor.yml b/.appveyor.yml new file mode 100644 index 00000000..a0ad7f87 --- /dev/null +++ b/.appveyor.yml @@ -0,0 +1,67 @@ +# 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 + - PYTHON: "C:\\Python27" + 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: + + - ECHO "Installed SDKs:" + - ps: "ls \"C:/Program Files/Microsoft SDKs/Windows\"" + + # Check that we have the expected version and architecture for Python + - "%PYTHON%\\python.exe --version" + - "%PYTHON%\\python.exe -c \"import struct; print(struct.calcsize('P') * 8)\"" + + # 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.22 + - 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" diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index a0ad7f87..00000000 --- a/appveyor.yml +++ /dev/null @@ -1,67 +0,0 @@ -# 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 - - PYTHON: "C:\\Python27" - 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: - - - ECHO "Installed SDKs:" - - ps: "ls \"C:/Program Files/Microsoft SDKs/Windows\"" - - # Check that we have the expected version and architecture for Python - - "%PYTHON%\\python.exe --version" - - "%PYTHON%\\python.exe -c \"import struct; print(struct.calcsize('P') * 8)\"" - - # 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.22 - - 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"