updated .travis & .readthedocs.yml

This commit is contained in:
sommersoft 2018-03-14 23:55:00 -05:00
parent f44b26edd5
commit 18d2d684df
2 changed files with 3 additions and 2 deletions

View file

@ -16,16 +16,17 @@ deploy:
provider: releases
api_key: $GH_REPO_TOKEN
file_glob: true
file: bundles/*
file: $TRAVIS_BUILD_DIR/bundles/*
skip_cleanup: true
overwrite: true
on:
tags: true
install:
- pip install pylint circuitpython-build-tools
- pip install pylint circuitpython-build-tools Sphinx sphinx-rtd-theme
script:
- pylint adafruit_lsm303.py
- ([[ ! -d "examples" ]] || pylint --disable=missing-docstring,invalid-name,bad-whitespace examples/*/*.py)
- circuitpython-build-bundles --filename_prefix adafruit-circuitpython-lsm303 --library_location .
- cd docs && sphinx-build -E -W -b html . _build/html