forked from poliastro/poliastro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
38 lines (29 loc) · 864 Bytes
/
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
# AppVeyor.com is a Continuous Integration service to build and run tests under
# Windows
# File shamelessly inspired by Astropy
version: 0.7.dev0-{build}
branches:
only:
- master
- 0.3.x
- 0.4.x
- 0.5.x
- 0.6.x
- 0.7.x
- 0.8.x
matrix:
fast_finish: true
install:
- "set PYTHON_BIN=C:\\Python36-x64\\python.exe"
- "set PIP_BIN=C:\\Python36-x64\\Scripts\\pip.exe"
- "set SPHINX_BIN=C:\\Python36-x64\\Scripts\\sphinx-build.exe"
# Check that we have the expected version of Python
- "%PYTHON_BIN% --version"
# Install dependencies
- "choco install pandoc"
- "%PIP_BIN% install numpy"
- "%PIP_BIN% install .[dev]" # Test installation correctness
build: off
test_script:
- "%PYTHON_BIN% setup.py test -vv" # Test against installed code
- "%SPHINX_BIN% -vW -b html docs/source _HTMLTest" # Test docs build