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 39 40 41 42 43 44
|
language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
dist: trusty
sudo: required
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libhdf5-dev
install:
- echo $TRAVIS_PYTHON_VERSION
- pip install --upgrade pip setuptools wheel
- pip install --only-binary=numpy,scipy numpy scipy
- pip install .
- pip install sphinx sphinx_rtd_theme sphinx-argparse
script:
- echo "No testing implemented"
before_deploy:
- cd docs
- sphinx-build -b html -d _build/doctrees . _build/html
- cd ../
- touch docs/_build/html/.nojekyll
deploy:
provider: pages
skip_cleanup: true
github_token: $GHPAGES_TOKEN
local_dir: docs/_build/html
target_branch: gh-pages
on:
branch: master
python: "3.6"
|