ablog/appveyor.yml
2018-10-27 15:28:26 +01:00

49 lines
1.4 KiB
YAML

# 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 nbsphinx"
PIP_DEPENDENCIES: "sphinx-automodapi"
matrix:
- PYTHON_VERSION: "2.7"
- PYTHON_VERSION: "3.5"
- PYTHON_VERSION: "3.6"
- PYTHON_VERSION: "3.7"
matrix:
fast_finish: true
platform:
- x64
before_test:
- cinst pandoc
- cinst graphviz
- set PATH="%PATH%;C:\Program Files (x86)\Pandoc\"
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"
- "pip install -e ."
# Not a .NET project, we build Ablog in the install step instead
build: false
test_script:
- 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