-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path.appveyor.yml
40 lines (37 loc) · 962 Bytes
/
.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
image:
- Visual Studio 2017
- Ubuntu
stack: python 3.6, python 3.7
version: '{branch}-{build}'
branches:
only:
- default
environment:
matrix:
- WIN_PYTHON: C:\\Python36
LNX_PYTHON: 3.6
DEPS: dataclasses importlib_resources
- WIN_PYTHON: C:\\Python37
LNX_PYTHON: 3.7
DEPS:
matrix:
# For some reason 3.7 on Linux won't work
# with a platform error
exclude:
- image: Ubuntu
LNX_PYTHON: 3.7
build: off
install:
- cmd: '%WIN_PYTHON%\\python.exe -m pip install objectgraph typing_extensions wheel virtualenv %DEPS%'
- sh: '~/venv$LNX_PYTHON*/bin/python3 -m pip install objectgraph typing_extensions wheel virtualenv $DEPS'
test_script:
- cmd: '%WIN_PYTHON%\\python.exe -m unittest -v'
- sh: '~/venv$LNX_PYTHON*/bin/python3 -m unittest -v'
notifications:
- provider: Email
to:
subject: 'appveyor: modulegraph'
on_build_success: false
on_build_failure: true
on_build_status_changed: true