-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from tannewt/pypi
Setup pypi credentials
- Loading branch information
Showing
2 changed files
with
21 additions
and
22 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,33 @@ | ||
# This is a common .travis.yml for generating library release zip files for | ||
# CircuitPython library releases using circuitpython-build-tools. | ||
# See https://github.com/adafruit/circuitpython-build-tools for detailed setup | ||
# instructions. | ||
|
||
dist: trusty | ||
sudo: false | ||
language: python | ||
python: | ||
- "3.6" | ||
|
||
- '3.6' | ||
cache: | ||
pip: true | ||
|
||
pip: true | ||
deploy: | ||
provider: releases | ||
api_key: $GITHUB_TOKEN | ||
- provider: releases | ||
api_key: "$GITHUB_TOKEN" | ||
file_glob: true | ||
file: $TRAVIS_BUILD_DIR/bundles/* | ||
file: "$TRAVIS_BUILD_DIR/bundles/*" | ||
skip_cleanup: true | ||
overwrite: true | ||
on: | ||
tags: true | ||
|
||
- provider: pypi | ||
user: adafruit-travis | ||
on: | ||
tags: true | ||
password: | ||
secure: G01X07JvgyUk8P6cU9IaBg59B1QCEeLlYtoA6pcl4UAjHhFOY2af2FxdcS2sZpNX/nC4j3pfHg63EsrYVJv0OCZbLa1qH3yPDCKNVmm+xiiosbYBERV7xJWVkUO0B0Byqs1B4/ob3lmG/yTa88sYJgfrIJQ2QnQqyLbKTfBKjPOTbpbpEqTwh3Dq7nRr0S/5hL71sUlMbrK4gLGBrDX27suz0BSI6fu1oac3PpHs9WdMLm/eAwIffFDXhZqV6AwHEIMCZfjdnktuOtRCrn4kptfUYmyBCsRo6g/I5wlhWf0hUD7i4T6Sl4/bjcO6CPIjmBe1phixi6C8o1/RW8tj4QT50bF2yNva8agbcCAo+1UetD3A929uc4Hvx/zYhNgZKrIdRuKgYnPWOdYp0dfjGIT8lyan86NU2rA+l93wlKPRr5aUSQtANU4qSXNcgM0zCcKMy0ekZYJjuebDAYjL3Y1ow1vVzVmqMfQEHYgbZuzRcTMdi+W82NDCodc/aQPTvva2ssfkH4S1nA4zRgn2D9YDkngGypT7CXgjRiO7c4wKdGB7SqsBd8CRZOt2aubut+ke+6ugEMhY+nOe0AbYjOduuoE4Mwc6P+KsNjG4/meQUh6CbQTgDh1nMEveIbjUsyGxdrOYhdafHX4PxhChuqNuFBWPLRKRBR7BOrYva2c= | ||
install: | ||
- pip install -r requirements.txt | ||
- pip install circuitpython-build-tools Sphinx sphinx-rtd-theme | ||
- pip install --force-reinstall pylint==1.9.2 | ||
|
||
- pip install -r requirements.txt | ||
- pip install circuitpython-build-tools Sphinx sphinx-rtd-theme | ||
- pip install --force-reinstall pylint==1.9.2 | ||
script: | ||
- pylint adafruit_htu21d.py | ||
- ([[ ! -d "examples" ]] || pylint --disable=missing-docstring,invalid-name,bad-whitespace examples/*.py) | ||
- circuitpython-build-bundles --filename_prefix adafruit-circuitpython-htu21d --library_location . | ||
- cd docs && sphinx-build -E -W -b html . _build/html | ||
- pylint adafruit_htu21d.py | ||
- ([[ ! -d "examples" ]] || pylint --disable=missing-docstring,invalid-name,bad-whitespace | ||
examples/*.py) | ||
- circuitpython-build-bundles --filename_prefix adafruit-circuitpython-htu21d --library_location | ||
. | ||
- cd docs && sphinx-build -E -W -b html . _build/html && cd .. |
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