Skip to content

Commit

Permalink
Merge pull request #2 from tannewt/pypi
Browse files Browse the repository at this point in the history
Setup pypi credentials
  • Loading branch information
dhalbert authored Sep 25, 2018
2 parents e11a512 + d68a80a commit 1556ec2
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 22 deletions.
41 changes: 20 additions & 21 deletions .travis.yml
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 ..
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,5 @@

# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
py_modules=['adafruit_HTU21D'],
py_modules=['adafruit_htu21d'],
)

0 comments on commit 1556ec2

Please sign in to comment.