-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathappveyor.yml.disabled
71 lines (51 loc) · 2.02 KB
/
appveyor.yml.disabled
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
version: '{build}'
# This is against the following error message: "The build phase is set to
# "MSBuild" mode (default), but no Visual Studio project or solution files were
# found in the root directory. If you are not building Visual Studio project
# switch build mode to "Script" and provide your custom build command."
build: off
environment:
matrix:
# AppVeyor-provided CPython. Can move to a newer point release at any point
# in time (desirable).
- PYTHON: "C:\\Python38-x64"
PYTHON_ARCH: "64"
- PYTHON: "C:\\Python37-x64"
PYTHON_ARCH: "64"
- PYTHON: "C:\\Python36-x64"
PYTHON_ARCH: "64"
- PYTHON: "C:\\Python35-x64"
PYTHON_ARCH: "64"
- PYTHON: "C:\\Python34-x64"
PYTHON_ARCH: "64"
- PYTHON: "C:\\Python27-x64"
PYTHON_ARCH: "64"
install:
# Adjust environment to build matrix cell (make use of variable set by build
# matrix).
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
- "python --version"
- dir
# Install newer pip and setuptools (newer than bundles with certain Python
# releases and newer than what Travis brings) -- but still pin the versions so
# that there are no moving dependencies.
- "python -m pip install pip==19.1.1 --upgrade"
- "python -m pip install setuptools==42.0.2 --upgrade"
# Simulate case where a normal user sets up gevent and gipc (install gevent
# and greenlet binaries via wheel files).
- pip install .
- pip install -r requirements-tests.txt
test_script:
- python --version && uname -a
- pip list
- pytest -vv test/
- python examples/synchronization.py
- python examples/raw_largemsg_bench.py
- python examples/gipc_benchmark.py
- python examples/serverclient.py
# The wsgimultiprocessing example is not adjusted to the very different
# method of how state is re-generated in the child on Windows. Leave this
# untested for now.
#- python examples/wsgimultiprocessing.py
# TODO: run infinite_send_to_child.py example.
# Do not run audit.sh analogue for now. It's sufficient to run on Linux.