forked from brechtm/rinohtype
-
Notifications
You must be signed in to change notification settings - Fork 2
/
appveyor.yml
74 lines (59 loc) · 2.05 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# References:
# - https://packaging.python.org/appveyor/
# - https://github.com/cloudify-cosmo/appveyor-utils
# https://www.appveyor.com/docs/how-to/rdp-to-build-worker/
#init:
# - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
#
#on_finish:
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
environment:
global:
BASETEMP: '%APPVEYOR_BUILD_FOLDER%\pytest_temp'
matrix:
- TOXENV: py35,py36,py37,py38
# DIST: sdist
# WITH_COVERAGE: 1
# - TOXENV: py34,py35,py36
# DIST: wheel
# WITH_COVERAGE: 0
- TOXENV: check
- TOXENV: regression
# WITH_COVERAGE: 1
- TOXENV: longrunning
# WITH_COVERAGE: 0
- TOXENV: check-docs
- TOXENV: build-docs
cache:
- C:\poppler-0.51 -> appveyor.yml
- C:\ProgramData\chocolatey\bin -> appveyor.yml
- C:\ProgramData\chocolatey\lib -> appveyor.yml
install:
- ps: |
If ($env:TOXENV -Match "regression" -Or $env:TOXENV -Match "longrunning") {
If (!(Test-Path C:\poppler-0.51)) {
# http://blog.alivate.com.au/poppler-windows/
appveyor DownloadFile http://blog.alivate.com.au/wp-content/uploads/2017/01/poppler-0.51_x86.7z
7z x poppler-0.51_x86.7z -oC:\
Remove-Item poppler-0.51_x86.7z
}
choco install imagemagick.tool
$env:Path = "C:\ProgramData\chocolatey\lib\imagemagick.tool\tools;C:\poppler-0.51\bin;$env:Path"
git submodule update --quiet --init
}
build: off
before_test:
- py -3.8 -m pip install tox-travis
test_script:
- echo %PATH%
- py -3.8 -m tox
on_failure:
- ps: |
7z a tests_regression_output.zip tests_regression/output
appveyor PushArtifact tests_regression_output.zip
notifications:
- provider: Webhook
url: https://webhooks.gitter.im/e/0fd17d2c154e08cdbc81
on_build_success: false
on_build_failure: true
on_build_status_changed: true