This repository was archived by the owner on Nov 19, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +61
-0
lines changed Expand file tree Collapse file tree 1 file changed +61
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Appveyor, continuous integration for Windows
2
+ # Most of the config comes from:
3
+ # * https://github.com/nedbat/coveragepy/blob/master/appveyor.yml
4
+ # * https://github.com/ogrisel/python-appveyor-demo/blob/master/appveyor.yml
5
+
6
+ version : ' {branch}-{build}'
7
+
8
+ shallow_clone : true
9
+
10
+ cache :
11
+ - ' %LOCALAPPDATA%\pip\Cache'
12
+
13
+ branches :
14
+ only :
15
+ - master
16
+
17
+ # Do not build feature branch with open Pull Requests
18
+ skip_branch_with_pr : true
19
+
20
+ environment :
21
+
22
+ CMD_IN_ENV : " cmd /E:ON /V:ON /C .\\ ci\\ run_with_env.cmd"
23
+
24
+ # Parallel pytest gets tangled up with tests that try to create and destroy
25
+ # .pth files in the shared virtualenv. Disable parallel tests.
26
+ PYTEST_ADDOPTS : " -n 0"
27
+
28
+ matrix :
29
+ - JOB : " 2.7 32-bit"
30
+ TOXENV : " py27"
31
+ PYTHON : " C:\\ Python27.11"
32
+ PYTHON_ARCH : " 32"
33
+
34
+ - JOB : " 3.6 64-bit"
35
+ TOXENV : " py36"
36
+ PYTHON : " C:\\ Python36-x64"
37
+ PYTHON_ARCH : " 64"
38
+
39
+ init :
40
+ - " ECHO %TOXENV%"
41
+
42
+ install :
43
+ - cinst graphviz
44
+ # Prepend Python to the PATH of this build (this cannot be
45
+ # done from inside the powershell script as it would require to restart
46
+ # the parent CMD process).
47
+ - " SET PATH=%PYTHON%;%PYTHON%\\ Scripts;%PATH%"
48
+
49
+ # Check that we have the expected version and architecture for Python
50
+ - " python --version"
51
+ - " python -c \" import struct; print(struct.calcsize('P') * 8)\" "
52
+
53
+ # Upgrade to the latest version of pip to avoid it displaying warnings
54
+ # about it being out of date.
55
+ - " python -m pip install --upgrade pip"
56
+ - " python -m pip install --upgrade tox"
57
+
58
+ build : off
59
+
60
+ test_script :
61
+ - tox
You can’t perform that action at this time.
0 commit comments