-
Notifications
You must be signed in to change notification settings - Fork 9
/
.travis.yml
32 lines (31 loc) · 858 Bytes
/
.travis.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
# Travis configuration file
# Read more under http://docs.travis-ci.com/user/build-configuration/
# Set the build language to Python
language: python
python:
- "3.6"
# Install dependencies
install:
- pip install sphinx
- pip install sphinx_rtd_theme
- pip install sphinx_automodapi
- pip install m2r # markdown to restructuredText conversion for sphinx
- pip install Cython
- pip install -r requirements.txt
# - pip install -e . # development installation of package, alternatively: python setup.py develop
# Build sphinx documentation
script:
- cd docs/
- make clean
- make html
- cd ..
# Deploy documentation to github pages
deploy:
- provider: pages
skip_cleanup: true
local_dir: docs/_build/html
github_token: $GITHUB_TOKEN # Set in travis-ci.org dashboard
keep_history: true
# Run tests
# script:
# - pytest