forked from vecto-ai/vecto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.appveyor.yml
54 lines (43 loc) · 1.79 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
environment:
global:
CMD_IN_ENV: "cmd /E:ON /V:ON /C .\\appveyor\\run_with_env.cmd"
matrix:
- PYTHON: "C:\\Miniconda36-x64"
PYTHON_VERSION: "3.6"
PYTHON_ARCH: "64"
HDF5_VERSION: "1.10"
install:
- ps: if ($env:APPVEYOR_PULL_REQUEST_NUMBER -and $env:APPVEYOR_BUILD_NUMBER -ne ((Invoke-RestMethod `
https://ci.appveyor.com/api/projects/$env:APPVEYOR_ACCOUNT_NAME/$env:APPVEYOR_PROJECT_SLUG/history?recordsNumber=50).builds | `
Where-Object pullRequestId -eq $env:APPVEYOR_PULL_REQUEST_NUMBER)[0].buildNumber) { `
throw "There are newer queued builds for this pull request, failing early." }
- ECHO "Filesystem root:"
- ps: "ls \"C:/\""
- ECHO "Installed SDKs:"
- ps: "ls \"C:/Program Files/Microsoft SDKs/Windows\""
- ps: if (-not(Test-Path($env:PYTHON))) { & appveyor\install.ps1 }
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
- "python --version"
- "python -c \"import struct; print(struct.calcsize('P') * 8)\""
- "python -m pip install --upgrade pip"
# - "python -m pip install --upgrade setuptools"
# - "python -m pip install --upgrade cython"
- conda install --yes pytables -c conda-forge
- "python -m pip install -r test_requirements.txt"
build_script:
- "python setup.py build"
test_script:
# - "%CMD_IN_ENV% python -m unittest discover"
- "python -m coverage run --branch --source . -m unittest discover --verbose"
# - "%CMD_IN_ENV% python -m coverage run --source . setup.py test"
after_test:
# - "python setup.py bdist_wheel"
# - "%CMD_IN_ENV% python setup.py bdist_wininst"
# - "%CMD_IN_ENV% python setup.py bdist_msi"
- ps: "ls"
notifications:
- provider: Webhook
url: https://webhooks.gitter.im/e/25b43ed5bc5e1d3a0772
on_build_success: true
on_build_failure: true
on_build_status_changed: true