forked from r9y9/pysptk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
59 lines (47 loc) · 1.29 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
52
53
54
55
56
57
58
59
environment:
matrix:
- PYTHON_VERSION: "2.7"
PYTHON_ARCH: "32"
MINICONDA: C:\Miniconda
- PYTHON_VERSION: "2.7"
PYTHON_ARCH: "64"
MINICONDA: C:\Miniconda-x64
- PYTHON_VERSION: "3.4"
PYTHON_ARCH: "32"
MINICONDA: C:\Miniconda3
# Disable this for now
# ref: http://stackoverflow.com/questions/4676728
# - PYTHON_VERSION: "3.4"
# PYTHON_ARCH: "64"
# MINICONDA: C:\Miniconda3-x64
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 scipy cython nose coverage six"
- activate test-environment
build_script:
- ls /c/projects/pysptk/lib/SPTK/
- git submodule update --init --recursive
- pip install -e .
test_script:
- nosetests --with-coverage --cover-package=pysptk -v -w tests/
after_test:
- python setup.py bdist_wheel
artifacts:
- path: dist\*