2019-09-20 15:40:56 +00:00
|
|
|
image: Visual Studio 2019
|
|
|
|
platform: x64
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- pyqt_gui
|
2020-03-28 13:53:52 +00:00
|
|
|
- WIP
|
2020-03-28 14:43:36 +00:00
|
|
|
build: off
|
2019-09-20 15:40:56 +00:00
|
|
|
environment:
|
|
|
|
VCVARS: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat
|
|
|
|
VCVARSARG: x64
|
2019-09-20 16:30:07 +00:00
|
|
|
MINICONDA: C:\Miniconda3-x64
|
2019-09-21 19:25:02 +00:00
|
|
|
INNO: C:\Program Files (x86)\Inno Setup 6
|
2020-03-28 13:53:52 +00:00
|
|
|
matrix:
|
|
|
|
- PY_VERSION: "3.5"
|
|
|
|
- PY_VERSION: "3.6"
|
|
|
|
- PY_VERSION: "3.7"
|
|
|
|
- PY_VERSION: "3.8"
|
2019-09-21 18:04:41 +00:00
|
|
|
|
2019-09-20 16:19:49 +00:00
|
|
|
install:
|
2019-09-20 16:35:22 +00:00
|
|
|
- set PATH=%MINICONDA%\\Library\\bin;%MINICONDA%\\Scripts;%USERPROFILE%\\.cargo\\bin;%PATH%
|
2019-09-21 18:20:27 +00:00
|
|
|
- set PATH=%INNO%;%PATH%
|
2019-09-20 15:40:56 +00:00
|
|
|
- appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
|
2019-09-21 18:44:46 +00:00
|
|
|
- rustup-init -y --default-toolchain nightly --default-host x86_64-pc-windows-msvc
|
2019-09-20 15:40:56 +00:00
|
|
|
- if defined VCVARS call "%VCVARS%" %VCVARSARG%
|
2019-09-20 16:19:49 +00:00
|
|
|
- conda activate
|
2019-09-21 19:25:02 +00:00
|
|
|
- conda update -y -n base -c defaults conda
|
2020-03-28 13:53:52 +00:00
|
|
|
- pip install nox
|
2019-09-20 15:40:56 +00:00
|
|
|
|
2019-09-20 16:16:30 +00:00
|
|
|
test_script:
|
2020-03-28 14:20:49 +00:00
|
|
|
- cmd: nox -s test-%PY_VERSION%
|
2020-03-28 13:53:52 +00:00
|
|
|
- ps: Get-ChildItem .\installer\Output\*.exe | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
|
2020-03-28 14:43:36 +00:00
|
|
|
- ps: Get-ChildItem .\dist\* | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name.Insert($_.Name.Length,".zip") }
|