forked from spacetelescope/imexam
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
64 lines (51 loc) · 1.86 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
# AppVeyor.com is a Continuous Integration service to build and run tests under
# Windows
platform:
- x64
environment:
# Appveyor machines come with miniconda already installed.
CONDA_INSTALL_LOCN: "C:\\Miniconda3-x64"
global:
MINICONDA_VERSION: "latest"
ASTROPY_USE_SYSTEM_PYTEST: 1
PYTHON_ARCH: "64" # needs to be set for CMD_IN_ENV to succeed. If a mix
# of 32 bit and 64 bit builds are needed, move this
# to the matrix section.
matrix:
- PYTHON_VERSION: "3.5"
NUMPY_VERION: "stable"
ASTROPY_VERSION: "stable"
- PYTHON_VERSION: "3.6"
NUMPY_VERSION: "stable"
ASTROPY_VERSION: "stable"
- PYTHON_VERSION: "3.7"
NUMPY_VERSION: "stable"
ASTROPY_VERSION: "stable"
- PYTHON_VERSION: "3.7"
NUMPY_VERSION: "stable"
ASTROPY_VERSION: "development"
- PYTHON_VERSION: "3.8"
NUMPY_VERSION: "stable"
ASTROPY_VERSION: "development"
matrix:
fast_finish: true
# os: Visual Studio 2015 Update 2
install:
- cmd: set OLDPATH=%PATH%
- cmd: set PATH=%CONDA_INSTALL_LOCN%;%CONDA_INSTALL_LOCN%\Scripts;%PATH%
- cmd: conda update --yes conda
- cmd: conda config --set always_yes true
- cmd: conda config --set show_channel_urls true
- cmd: conda config --set changeps1 no
- cmd: conda config --add channels conda-forge
- cmd: set PATH=%OLDPATH%
- cmd: set OLDPATH=
- cmd: call %CONDA_INSTALL_LOCN%\Scripts\activate.bat
- cmd: set PYTHONUNBUFFERED=1
- cmd: conda install scipy matplotlib numpy astropy ipython sphinx pytest pytest-cov
- cmd: git submodule update --init --recursive
- cmd: conda info -a
# Not a .NET project, we build in the install step instead
build: off
test_script:
- cmd: python setup.py test