Update README.md #95
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push] | |
language: python | |
sudo: false | |
matrix: | |
include: | |
- python: 3.6 | |
env: DEPLOY_DOCS=ON | |
install: | |
- pip install --upgrade pip | |
- pip install --upgrade setuptools | |
- pip install --upgrade wheel | |
- pip install --only-binary=numpy,scipy numpy scipy | |
- pip install twine | |
- pip install sphinx | |
- pip install numpydoc | |
- pip install sphinx_rtd_theme | |
- pip install matplotlib | |
- pip install python-coveralls | |
- python setup.py build | |
- pip install pytest>=3.6 pytest-cov pep8 pytest-pep8 | |
script: | |
- | | |
if [[ "${DEPLOY_DOCS}" == "ON" ]]; then | |
cd docs | |
make html | |
touch _build/html/.nojekyll | |
fi | |
deploy: | |
- provider: pages | |
skip_cleanup: true | |
github_token: $GH_KEY | |
local_dir: docs/_build/html | |
on: | |
branch: master | |
condition: $DEPLOY_DOCS == ON | |
- provider: script | |
script: ./scripts/upload_pypi.sh | |
skip_cleanup: true | |
on: | |
tags: true | |