|
|
|
@ -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_max31865.py
|
|
|
|
|
- ([[ ! -d "examples" ]] || pylint --disable=missing-docstring,invalid-name examples/*.py)
|
|
|
|
|
- circuitpython-build-bundles --filename_prefix adafruit-circuitpython-max31865 --library_location .
|
|
|
|
|
- cd docs && sphinx-build -E -W -b html . _build/html
|