Skip to content

Setup pypi credentials #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 25, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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'],
)