forked from dhermes/bezier
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.appveyor.yml
66 lines (49 loc) · 1.57 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
---
version: 1.0.{build}.{branch}
build: false
matrix:
fast_finish: true
# We always use a 64-bit machine.
platform:
- x64
environment:
global:
MINGW_32: C:\mingw-w64\i686-6.3.0-posix-dwarf-rt_v5-rev1\mingw32\bin
MINGW_64: C:\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1\mingw64\bin
DEFAULT_PYTHON: "C:\\Python37-x64"
matrix:
# See: https://www.appveyor.com/docs/installed-software/#python
- NOX_SESSION: "unit-3.6-32"
- NOX_SESSION: "unit-3.6"
- NOX_SESSION: "unit-3.7-32"
- NOX_SESSION: "cover"
- NOX_SESSION: "functional-3.7"
- NOX_SESSION: "doctest"
- NOX_SESSION: "check_journal(machine='appveyor')"
install:
- cmd: echo "Filesystem root:"
- dir C:\
- echo "Installed SDKs:"
- dir "C:/Program Files/Microsoft SDKs/Windows"
# Make 64-bit Python 3.7 the "default" Python.
- "SET PATH=%DEFAULT_PYTHON%;%DEFAULT_PYTHON%\\Scripts;%PATH%"
# Append MinGW to the PATH of this build so ``gfortran`` is visible
# to ``numpy.distutils``.
- ps: |
$NOX_SESSION = $env:NOX_SESSION
If ($NOX_SESSION.EndsWith("-32")) {
$MINGW = $env:MINGW_32
} Else {
$MINGW = $env:MINGW_64
}
$env:Path += ";$MINGW"
# Packaging requirements
- python -m pip install --upgrade pip setuptools
- python -m pip install --upgrade wheel
# Install the build dependencies of the project.
- python -m pip install --upgrade "nox >= 2018.10.15"
test_script:
- "python -m nox -s \"%NOX_SESSION%\""
cache:
# Use the appveyor cache to avoid re-downloading large archives.
- '%LOCALAPPDATA%\pip\Cache'