forked from MicrochipTech/cryptoauthlib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
40 lines (34 loc) · 1.3 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
environment:
TWINE_USERNAME:
secure: TEiy+eHGeQQIy9jUEpUNMA==
TWINE_PASSWORD:
secure: nGYP/oqo/DSfCQduEhhKGg==
matrix:
- PYTHON: "C:\\Python27"
- PYTHON: "C:\\Python27-x64"
- PYTHON: "C:\\Python35"
- PYTHON: "C:\\Python35-x64"
- PYTHON: "C:\\Python36"
- PYTHON: "C:\\Python36-x64"
- PYTHON: "C:\\Python37"
- PYTHON: "C:\\Python37-x64"
install:
- cmd: "%PYTHON%\\python.exe -m pip install --upgrade pip"
- cmd: "%PYTHON%\\python.exe -m pip install --upgrade setuptools"
- cmd: "%PYTHON%\\python.exe -m pip install --upgrade wheel"
- cmd: "%PYTHON%\\python.exe -m pip install --upgrade pytest"
- cmd: "%PYTHON%\\python.exe -m pip install --upgrade enum34"
- cmd: "%PYTHON%\\python.exe -m pip install --upgrade twine"
before_build:
- cd python
- cmd: "git describe --tags >VERSION"
build_script:
- cmd: "%PYTHON%\\python.exe setup.py bdist_wheel"
artifacts:
- path: python\dist\*.whl
#on_success:
# You can use this step to upload your artifacts to a public website.
# See Appveyor's documentation for more details. Or you can simply
# access your wheels from the Appveyor "artifacts" tab for your build.
deploy_script:
- ps: if ($env:APPVEYOR_REPO_TAG -eq $TRUE) { & ${env:PYTHON}\python.exe -m twine upload "dist\*.whl" --skip-existing }