-
Notifications
You must be signed in to change notification settings - Fork 5
/
appveyor.yml
50 lines (36 loc) · 868 Bytes
/
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
environment:
PY_DIR: C:\Python36-x64
PYPI_PASSWORD:
secure: ZuRCW1W45pqH03Lio54BzQ==
skip_non_tags: true
image:
- Visual Studio 2015
platform:
- x64
stack: python 3
clone_depth: 3
build: off
init:
- cmd: set PATH=%PY_DIR%;%PY_DIR%\Scripts;%APPVEYOR_BUILD_FOLDER%\data\lib;%PATH%
- cmd: set CNC_INSTALL_CNCA0_CNCB0_PORTS="YES"
install:
- pip install twine
test_script:
- cmake_build.cmd
- python python\setup.py install
after_test:
- pip install wheel
- cd python && python setup.py sdist bdist_wheel
artifacts:
- path: dist
name: python_package
type: zip
deploy_script:
- twine upload --skip-existing dist/*.whl --user Andrey1994 --password %PYPI_PASSWORD%
notifications:
- provider: Email
to:
- a1994ndrey@gmail.com
on_build_success: false
on_build_failure: true
on_build_status_changed: true