ref: 205fe439f83101e6e5bd19317dde02448b2d8c38
parent: 981e0a384c356e960b3a0959617e3a65f33801d0
author: Paul Brossier <piem@piem.org>
date: Mon Sep 24 18:49:57 EDT 2018
.appveyor.yml: simplify, add test_script, move requirements to install
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -56,17 +56,17 @@
# We need wheel installed to build wheels
- "python -m pip install wheel"
+ - "pip install -r requirements.txt"
+
before_build:
- "bash scripts/get_waf.sh"
build_script:
# build python module without using libaubio
- - "%PYTHONDIR%\\python.exe -m pip install -r requirements.txt"
- - "python setup.py build"
- - "%PYTHONDIR%\\python.exe -m pip install ."
+ - 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"
+
+test_script:
- "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"