-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathappveyor.yml
47 lines (42 loc) · 1.13 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
41
42
43
44
45
46
47
version: 1.0.{build}
image:
- Visual Studio 2017
- ubuntu1804
- macos
- macos-mojave
environment:
NO_EXTERNAL_TESTS: 1
matrix:
- TOXENV: py27
# - TOXENV: py34
- TOXENV: py35
- TOXENV: py36
- TOXENV: py37
- TOXENV: py38
# - TOXENV: py39
for:
-
matrix:
only:
- image: Visual Studio 2017
install:
- ps: |
$path = [Environment]::GetEnvironmentVariable("path", "machine")
$origPath = $path
$newPath = ($path.Split(';') | Where-Object { $_ -eq 'C:\ProgramData\chocolatey\bin' }) -join ';'
[Environment]::SetEnvironmentVariable("path", $newPath, "machine")
refreshenv
appveyor-retry choco install gnupg
$newPath = "C:\Program Files (x86)\GnuPG\bin;" + $origPath
[Environment]::SetEnvironmentVariable("path", $newPath, "machine")
refreshenv
Write-Host $newPath
cmd /r "C:\Program Files (x86)\GnuPG\bin\gpg.exe" --version
- cmd: pip install tox
install:
- cmd: pip install tox
build: off
test_script:
- cmd: tox -c av-tox.ini
on_failure:
- cmd: type test_gnupg.log