mirror of
https://github.com/vale981/ablog
synced 2025-03-04 16:51:39 -05:00
52 lines
1.5 KiB
YAML
52 lines
1.5 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"
|
|
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"
|
|
- "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
|
|
# - ps: mkdir test
|
|
# - ps: cd test
|
|
# - ps: echo "ABlog" ABlog Team" "http://ablog.readthedocs.org" | ablog start
|
|
# - ablog build
|
|
# - ps: mkdir -p test
|
|
# - ps: cd test
|
|
# - ps: echo "ablog" "ABlog" "ABlog Team" "http://ablog.readthedocs.org" | ablog start
|
|
# - ps: cd ablog
|
|
# - ablog build
|