forked from JeremyCCHsu/Python-Wrapper-for-World-Vocoder
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappveyor.yml
More file actions
46 lines (38 loc) · 1.12 KB
/
appveyor.yml
File metadata and controls
46 lines (38 loc) · 1.12 KB
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
environment:
matrix:
- PYTHON_VERSION: "3.6"
PYTHON_ARCH: "64"
MINICONDA: C:\Miniconda3-x64
- PYTHON_VERSION: "3.6"
PYTHON_ARCH: "32"
MINICONDA: C:\Miniconda3
# platform: x64
init:
- ps: |
Write-Output "*** Python $env:PYTHON_VERSION ***"
$env:Path += ";$env:PYTHON_ROOT;$env:PYTHON_ROOT\Scripts"
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 wheel"
- activate test-environment
- python -m pip install --no-cache-dir -U pip
- ps: |
Write-Output "Installing requirements..."
pip install -r requirements.txt
build_script:
- git submodule update --init
- pip install -e .
test_script:
- ps: |
$ErrorActionPreference = "Stop"
Set-Location "$env:APPVEYOR_BUILD_FOLDER\demo"
python demo.py
Set-Location "$env:APPVEYOR_BUILD_FOLDER"
after_test:
- python setup.py bdist_wheel
artifacts:
- path: dist\*