updated .travis & .readthedocs yml

This commit is contained in:
sommersoft 2018-02-25 09:50:38 -06:00
parent 2ac39cfbed
commit 7f5fe5f9f4
2 changed files with 6 additions and 2 deletions

View file

@ -1,2 +1,4 @@
python:
version: 3
requirements_file: requirements.txt

View file

@ -16,15 +16,17 @@ deploy:
provider: releases
api_key: $GITHUB_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_ds3231.py
- ([[ ! -d "examples" ]] || pylint --disable=missing-docstring,invalid-name examples/*.py)
- circuitpython-build-bundles --filename_prefix adafruit-circuitpython-ds3231 --library_location .
- cd docs && sphinx-build -E -W -b html . _build/html