2018-03-04 21:04:42 +01:00
|
|
|
# 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"
|
2018-03-04 21:17:01 +01:00
|
|
|
CONDA_CHANNELS: "conda-forge"
|
2018-10-27 11:15:43 +01:00
|
|
|
CONDA_DEPENDENCIES: "sphinx werkzeug alabaster invoke graphviz nbsphinx"
|
2018-03-04 21:17:01 +01:00
|
|
|
PIP_DEPENDENCIES: "sphinx-automodapi"
|
2018-03-04 21:04:42 +01:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
- PYTHON_VERSION: "2.7"
|
|
|
|
- PYTHON_VERSION: "3.5"
|
|
|
|
- PYTHON_VERSION: "3.6"
|
2018-10-27 10:52:29 +01:00
|
|
|
- PYTHON_VERSION: "3.7"
|
2018-03-04 21:04:42 +01:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
|
|
|
|
|
|
|
platform:
|
|
|
|
- x64
|
|
|
|
|
2018-10-27 11:15:43 +01:00
|
|
|
before_test:
|
|
|
|
- cinst pandoc
|
|
|
|
- cinst graphviz
|
|
|
|
- set PATH="%PATH%;C:\Program Files (x86)\Pandoc\"
|
|
|
|
|
2018-03-04 21:04:42 +01:00
|
|
|
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"
|
2018-03-04 21:31:09 +01:00
|
|
|
- "pip install -e ."
|
2018-03-04 21:04:42 +01:00
|
|
|
|
2018-03-04 21:31:09 +01:00
|
|
|
# Not a .NET project, we build Ablog in the install step instead
|
2018-03-04 21:04:42 +01:00
|
|
|
build: false
|
|
|
|
|
|
|
|
test_script:
|
2018-03-04 21:31:09 +01:00
|
|
|
- ps: cd docs
|
|
|
|
- ablog build -T
|
|
|
|
- ablog build -b latex -T -d .doctrees -w _latex
|
|
|
|
- ablog build -T -b json
|
|
|
|
- ablog build -T -b pickle
|