forked from asdf-format/asdf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
65 lines (52 loc) · 1.72 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
# AppVeyor.com is a Continuous Integration service to build and run tests under
# Windows
environment:
global:
PYTHON: "C:\\conda"
MINICONDA_VERSION: "latest"
CMD_IN_ENV: "cmd /E:ON /V:ON /C .\\ci-helpers\\appveyor\\windows_sdk.cmd"
SETUP_CMD: "test"
NUMPY_VERSION: "stable"
ASTROPY_VERSION: "stable"
GWCS_GIT: "git+git://github.com/spacetelescope/gwcs.git#egg=gwcs"
GWCS_PIP: "gwcs"
CONDA_DEPENDENCIES: "semantic_version jsonschema pyyaml six lz4 pytest-astropy"
PIP_DEPENDENCIES: "pytest-faulthandler"
PYTHON_ARCH: "64"
matrix:
# Make sure that installation does not fail
- PYTHON_VERSION: "3.6"
SETUP_CMD: "install"
platform: x64
- PYTHON_VERSION: "3.5"
platform: x64
- PYTHON_VERSION: "3.6"
NUMPY_VERSION: "1.12.0"
platform: x64
- PYTHON_VERSION: "3.6"
platform: x64
- PYTHON_VERSION: "3.6"
ASTROPY_VERSION: "stable"
platform: x64
- PYTHON_VERSION: "3.6"
ASTROPY_VERSION: "development"
GWCS_PIP: "%GWCS_GIT%"
platform: x64
# Tests against development version of numpy may fail
- PYTHON_VERSION: "3.6"
NUMPY_VERSION: "development"
platform: x64
matrix:
allow_failures:
- NUMPY_VERSION: "development"
install:
- "git clone git://github.com/astropy/ci-helpers.git"
- "powershell ci-helpers/appveyor/install-miniconda.ps1"
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
- "activate test"
- "%CMD_IN_ENV% python -m pip install --no-deps %GWCS_PIP%"
- "%CMD_IN_ENV% python setup.py develop --no-deps"
# Not a .NET project
build: false
test_script:
- "%CMD_IN_ENV% python setup.py %SETUP_CMD%"