forked from r9y9/pylibfreenect2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
51 lines (42 loc) · 1.38 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
environment:
matrix:
- PYTHON_VERSION: "3.5"
PYTHON_ARCH: "64"
MINICONDA: C:\Miniconda3-x64
LIBFREENECT2_ARCHIVE_NAME: libfreenect2-0.2.0-libusbk-vs2015-x64
LIBFREENECT2_VERSION: v0.2.0
branches:
only:
- master
- /release-.*/
skip_commits:
message: /\[av skip\]/
notifications:
- provider: Email
on_build_success: false
on_build_failure: false
on_build_status_changed: false
init:
- "ECHO %PYTHON_VERSION% %PYTHON_ARCH% %MINICONDA%"
install:
- "SET PATH=%MINICONDA%;%MINICONDA%\\Scripts;%PATH%"
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda config --add channels pypi
- conda info -a
- "conda create -q -n test-environment python=%PYTHON_VERSION% numpy cython nose"
- activate test-environment
build_script:
- set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH%
- set LIBFREENECT2_BIN=https://github.com/OpenKinect/libfreenect2/releases/download/%LIBFREENECT2_VERSION%/%LIBFREENECT2_ARCHIVE_NAME%.zip
- curl -sLO %LIBFREENECT2_BIN%
- 7z x %LIBFREENECT2_ARCHIVE_NAME%.zip
- set LIBFREENECT2_INSTALL_PREFIX=C:\\projects\\pylibfreenect2\\%LIBFREENECT2_ARCHIVE_NAME%
- set PATH=%LIBFREENECT2_INSTALL_PREFIX%\\bin;%PATH%
- pip install -e .
test_script:
- nosetests -v -w tests -a "!require_device"
after_test:
- python setup.py bdist_wheel
artifacts:
- path: dist\*