forked from LCAV/pyroomacoustics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.appveyor.yml
56 lines (47 loc) · 1.5 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
build: false
environment:
matrix:
- PYTHON_VERSION: 3.5
MINICONDA: C:\Miniconda3
RESTORE_MINICONDA: C:\Miniconda35
PYTHON_ARCH: "32"
- PYTHON_VERSION: 3.5
MINICONDA: C:\Miniconda3-x64
RESTORE_MINICONDA: C:\Miniconda35-x64
PYTHON_ARCH: "64"
- PYTHON_VERSION: 3.6
MINICONDA: C:\Miniconda3
RESTORE_MINICONDA: C:\Miniconda36
PYTHON_ARCH: "32"
- PYTHON_VERSION: 3.6
MINICONDA: C:\Miniconda3-x64
RESTORE_MINICONDA: C:\Miniconda36-x64
PYTHON_ARCH: "64"
init:
- "ECHO %PYTHON_VERSION% %MINICONDA%"
install:
- "set PATH=%MINICONDA%;%MINICONDA%\\Scripts;%PATH%"
- "python --version"
- "python -c \"import struct; print(struct.calcsize('P') * 8)\""
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a
- "conda create -q -n test-environment python=%PYTHON_VERSION% numpy scipy matplotlib nose"
- activate test-environment
- pip install -r requirements.txt
- python setup.py install
test_script:
- nosetests
- python.exe setup.py build_ext --inplace
- python pyroomacoustics/c_package/tests/check_build.py
- nosetests
after_test:
# This step builds your wheels.
- python.exe setup.py bdist_wheel
artifacts:
# bdist_wheel puts your built wheel in the dist directory
- path: dist\*.whl
notifications:
- provider: Slack
incoming_webhook:
secure: nqOk3aT2OywRUWp1LQ2geV/UcGqrz1wN/q24xrrNI8HsNX2HGit3psyMvzS4taPzB4fzNFdOMHHoyqbruc4lpqOr1PWql5PVwpq1K46L8Bw=