-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathappveyor.yml
46 lines (36 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
version: '{branch}-{build}'
image: Visual Studio 2017
environment:
matrix:
# Pre-installed Python versions, which Appveyor may upgrade to
# a later point release.
# See: http://www.appveyor.com/docs/installed-software#python
- PYTHON: "C:\\Python35"
PYTHON_VERSION: "3.5.x" # currently 3.5.3
PYTHON_ARCH: "32"
- PYTHON: "C:\\Python35-x64"
PYTHON_VERSION: "3.5.x" # currently 3.5.3
PYTHON_ARCH: "64"
- PYTHON: "C:\\Python36"
PYTHON_VERSION: "3.6.x" # currently 3.6.1
PYTHON_ARCH: "32"
- PYTHON: "C:\\Python36-x64"
PYTHON_VERSION: "3.6.x" # currently 3.6.1
PYTHON_ARCH: "64"
- PYTHON: "C:\\Python37"
PYTHON_VERSION: "3.7.x"
PYTHON_ARCH: "32"
- PYTHON: "C:\\Python37-x64"
PYTHON_VERSION: "3.7.x"
PYTHON_ARCH: "64"
build_script:
# Build the compiled extension
- "%CMD_IN_ENV% pip install -e .[test,windows]"
install:
- docker version
- docker images -a
# Add python things to the path
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
test_script:
# Run the project tests
- "%CMD_IN_ENV% py.test --flake8 --cov=boatswain test/"