ED_LRR/appveyor.yml

33 lines
1.1 KiB
YAML
Raw Permalink Normal View History

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
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
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-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%
- 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
- if defined VCVARS call "%VCVARS%" %VCVARSARG%
2019-09-20 16:19:49 +00:00
- conda activate
- conda update -y -n base -c defaults conda
2020-03-28 13:53:52 +00:00
- pip install nox
2019-09-20 16:16:30 +00:00
test_script:
- 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") }