X-Git-Url: https://git.aubio.org/?p=aubio.git;a=blobdiff_plain;f=.appveyor.yml;h=d7c51f2edf019c9d0f5a93adc370a4dda7fe8771;hp=1efbb42235b36445ce94dd6b9dc210575a05f7c2;hb=12e5d8969f8d1e62ca1c7c0fdf311b7d27d18bde;hpb=205fe439f83101e6e5bd19317dde02448b2d8c38;ds=sidebyside diff --git a/.appveyor.yml b/.appveyor.yml index 1efbb422..d7c51f2e 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -7,40 +7,39 @@ environment: # 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 + PYTHON_VERSION: 2.7.x + PYTHON_ARCH: 32 - - PYTHONDIR: "C:\\Python27-x64" - PYTHON_VERSION: "2.7.x" - PYTHON_ARCH: "64" + - PYTHONDIR: C:\Python27-x64 + PYTHON_VERSION: 2.7.x + PYTHON_ARCH: 64 - - PYTHONDIR: "C:\\Python35" - PYTHON_VERSION: "3.5.x" - PYTHON_ARCH: "32" + - PYTHONDIR: C:\Python35 + PYTHON_VERSION: 3.5.x + PYTHON_ARCH: 32 - - PYTHONDIR: "C:\\Python35-x64" - PYTHON_VERSION: "3.5.x" - PYTHON_ARCH: "64" + - PYTHONDIR: C:\Python35-x64 + PYTHON_VERSION: 3.5.x + PYTHON_ARCH: 64 - - PYTHONDIR: "C:\\Python36" - PYTHON_VERSION: "3.6.x" - PYTHON_ARCH: "32" + - PYTHONDIR: C:\Python36 + PYTHON_VERSION: 3.6.x + PYTHON_ARCH: 32 - - PYTHONDIR: "C:\\Python36-x64" - PYTHON_VERSION: "3.6.x" - PYTHON_ARCH: "64" + - PYTHONDIR: C:\Python36-x64 + PYTHON_VERSION: 3.6.x + PYTHON_ARCH: 64 - - PYTHONDIR: "C:\\Python37" - PYTHON_VERSION: "3.7.x" - PYTHON_ARCH: "32" + - PYTHONDIR: C:\Python37 + PYTHON_VERSION: 3.7.x + PYTHON_ARCH: 32 - - PYTHONDIR: "C:\\Python37-x64" - PYTHON_VERSION: "3.7.x" - PYTHON_ARCH: "64" + - PYTHONDIR: C:\Python37-x64 + PYTHON_VERSION: 3.7.x + PYTHON_ARCH: 64 install: - - ECHO "Installed SDKs:" - ps: "ls \"C:/Program Files/Microsoft SDKs/Windows\"" @@ -62,10 +61,17 @@ before_build: - "bash scripts/get_waf.sh" build_script: - # build python module without using libaubio - - pip wheel -v -v -v --wheel-dir=dist . # also build libaubio with waf - - python waf distclean configure build install --verbose --msvc_version="msvc 14.0" + - python waf configure build install --verbose --msvc_version="msvc 14.0" + # clean before building python package + - python waf distclean + # build, upload and install wheel (inspired by numpy's appveyor) + - ps: | + pip wheel -v -v -v --wheel-dir=dist . + ls dist -r | Foreach-Object { + Push-AppveyorArtifact $_.FullName + pip install $_.FullName + } test_script: - "python python\\demos\\demo_create_test_sounds.py"