mirror of
https://github.com/vale981/ablog
synced 2025-03-04 16:51:39 -05:00
appyveyor setup
This commit is contained in:
parent
bd18b53f62
commit
1a66b715e3
1 changed files with 39 additions and 0 deletions
39
appveyor.yml
Normal file
39
appveyor.yml
Normal file
|
@ -0,0 +1,39 @@
|
|||
# AppVeyor.com is a Continuous Integration service to build and run tests under
|
||||
# Windows
|
||||
|
||||
environment:
|
||||
|
||||
global:
|
||||
PYTHON: "C:\\conda"
|
||||
MINICONDA_VERSION: "latest"
|
||||
# SDK v7.0 MSVC Express 2008's SetEnv.cmd script will fail if the
|
||||
# /E:ON and /V:ON options are not enabled in the batch script intepreter
|
||||
# See: http://stackoverflow.com/a/13751649/163740
|
||||
CMD_IN_ENV: "cmd /E:ON /V:ON /C .\\ci-helpers\\appveyor\\windows_sdk.cmd"
|
||||
CONDA_CHANNELS: "conda-forge "
|
||||
CONDA_DEPENDENCIES="sphinx werkzeug alabaster invoke graphviz"
|
||||
PIP_DEPENDENCIES="sphinx-automodapi"
|
||||
|
||||
matrix:
|
||||
- PYTHON_VERSION: "2.7"
|
||||
- PYTHON_VERSION: "3.5"
|
||||
- PYTHON_VERSION: "3.6"
|
||||
|
||||
matrix:
|
||||
fast_finish: true
|
||||
|
||||
platform:
|
||||
- x64
|
||||
|
||||
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"
|
||||
|
||||
# Not a .NET project, we build SunPy in the install step instead
|
||||
build: false
|
||||
|
||||
test_script:
|
||||
- "%CMD_IN_ENV% pip install -e ."
|
||||
- "%CMD_IN_ENV% make test"
|
Loading…
Add table
Reference in a new issue