forked from SpotlightKid/python-rtmidi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.appveyor.yml
39 lines (29 loc) · 1.03 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
skip_non_tags: true
environment:
matrix:
- PYTHON: Python35
- PYTHON: Python35-x64
- PYTHON: Python36
- PYTHON: Python36-x64
- PYTHON: Python37
- PYTHON: Python37-x64
- PYTHON: Python38
- PYTHON: Python38-x64
# To clear the cache, see https://ci.appveyor.com/api-keys for the token and use:
# wget --header="Authorization: Bearer $TOKEN" --method DELETE https://ci.appveyor.com/api/projects/$USER/$PROJECT/buildcache
cache:
- '%LOCALAPPDATA%\pip\Cache'
clone_depth: 1
install:
- "SET PATH=C:\\%PYTHON%;C:\\%PYTHON%\\Scripts;%PATH%"
- python --version
- python -m pip --disable-pip-version-check install -U pip setuptools wheel
- python -m pip install -U Cython twine"
- python -m pip freeze --all
before_build:
- git submodule update --init
build_script:
- ps: $env:SOURCE_DATE_EPOCH = (git log -1 --date=unix --format='format:%ct' rtmidi/release.py) | Out-String
- "python setup.py release"
test: off
on_success: "if [%APPVEYOR_REPO_TAG%]==[true] twine upload --skip-existing dist\\*.whl"