Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.

Commit 0f20c7f

Browse files
committed
Add rust to AppVeyor
1 parent ebf02c3 commit 0f20c7f

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

appveyor.yml

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,27 +7,31 @@ cache:
77

88
environment:
99
matrix:
10-
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
11-
PYTHON: "C:\\Python36-x64"
12-
PYTHON_VERSION: "3.6"
13-
PYTHON_ARCH: "64"
14-
TOX_ENV: "py36"
15-
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
10+
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
1611
PYTHON: "C:\\Python37-x64"
1712
PYTHON_VERSION: "3.7"
1813
PYTHON_ARCH: "64"
1914
TOX_ENV: "py37"
20-
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
15+
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
2116
PYTHON: "C:\\Python38-x64"
2217
PYTHON_VERSION: "3.8"
2318
PYTHON_ARCH: "64"
2419
TOX_ENV: "py38"
20+
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
21+
PYTHON: "C:\\Python39-x64"
22+
PYTHON_VERSION: "3.9"
23+
PYTHON_ARCH: "64"
24+
TOX_ENV: "py39"
2525

2626
init:
2727
- echo %PYTHON% %PYTHON_VERSION% %PYTHON_ARCH%
2828

2929
install:
30+
#- curl -fsSL -o rustup-init.exe https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-msvc/rustup-init.exe
31+
#- rustup-init.exe -y --default-host x86_64-pc-windows-msvc --default-toolchain stable
3032
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
33+
#- where rustc
34+
- python -m pip install -U pip
3135
- where pip
3236
- pip install --upgrade setuptools wheel
3337
- pip install -r requirements.txt
@@ -37,7 +41,7 @@ install:
3741
build: off
3842

3943
test_script:
40-
- flake8 --exit-zero --select F,E,W --ignore W504 --statistics shipyard.py convoy\\*.py
41-
- IF "%PYTHON_VERSION%" GEQ "3.8" (
42-
flake8 --exit-zero --select F,E,W --ignore W504 --statistics cascade\\*.py cargo\\*.py federation\\*.py heimdall\\*.py slurm\\*.py
44+
- flake8 --exit-zero --select F,E,W --ignore W504 --statistics shipyard.py convoy
45+
- IF "%PYTHON_VERSION%" GEQ "3.9" (
46+
flake8 --exit-zero --select F,E,W --ignore W504 --statistics cascade cargo federation heimdall slurm
4347
)

0 commit comments

Comments
 (0)