Skip to content

Commit d68a80a

Browse files
committed
Setup pypi credentials
1 parent e11a512 commit d68a80a

File tree

2 files changed

+21
-22
lines changed

2 files changed

+21
-22
lines changed

.travis.yml

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,33 @@
1-
# This is a common .travis.yml for generating library release zip files for
2-
# CircuitPython library releases using circuitpython-build-tools.
3-
# See https://github.com/adafruit/circuitpython-build-tools for detailed setup
4-
# instructions.
5-
61
dist: trusty
72
sudo: false
83
language: python
94
python:
10-
- "3.6"
11-
5+
- '3.6'
126
cache:
13-
pip: true
14-
7+
pip: true
158
deploy:
16-
provider: releases
17-
api_key: $GITHUB_TOKEN
9+
- provider: releases
10+
api_key: "$GITHUB_TOKEN"
1811
file_glob: true
19-
file: $TRAVIS_BUILD_DIR/bundles/*
12+
file: "$TRAVIS_BUILD_DIR/bundles/*"
2013
skip_cleanup: true
2114
overwrite: true
2215
on:
2316
tags: true
24-
17+
- provider: pypi
18+
user: adafruit-travis
19+
on:
20+
tags: true
21+
password:
22+
secure: G01X07JvgyUk8P6cU9IaBg59B1QCEeLlYtoA6pcl4UAjHhFOY2af2FxdcS2sZpNX/nC4j3pfHg63EsrYVJv0OCZbLa1qH3yPDCKNVmm+xiiosbYBERV7xJWVkUO0B0Byqs1B4/ob3lmG/yTa88sYJgfrIJQ2QnQqyLbKTfBKjPOTbpbpEqTwh3Dq7nRr0S/5hL71sUlMbrK4gLGBrDX27suz0BSI6fu1oac3PpHs9WdMLm/eAwIffFDXhZqV6AwHEIMCZfjdnktuOtRCrn4kptfUYmyBCsRo6g/I5wlhWf0hUD7i4T6Sl4/bjcO6CPIjmBe1phixi6C8o1/RW8tj4QT50bF2yNva8agbcCAo+1UetD3A929uc4Hvx/zYhNgZKrIdRuKgYnPWOdYp0dfjGIT8lyan86NU2rA+l93wlKPRr5aUSQtANU4qSXNcgM0zCcKMy0ekZYJjuebDAYjL3Y1ow1vVzVmqMfQEHYgbZuzRcTMdi+W82NDCodc/aQPTvva2ssfkH4S1nA4zRgn2D9YDkngGypT7CXgjRiO7c4wKdGB7SqsBd8CRZOt2aubut+ke+6ugEMhY+nOe0AbYjOduuoE4Mwc6P+KsNjG4/meQUh6CbQTgDh1nMEveIbjUsyGxdrOYhdafHX4PxhChuqNuFBWPLRKRBR7BOrYva2c=
2523
install:
26-
- pip install -r requirements.txt
27-
- pip install circuitpython-build-tools Sphinx sphinx-rtd-theme
28-
- pip install --force-reinstall pylint==1.9.2
29-
24+
- pip install -r requirements.txt
25+
- pip install circuitpython-build-tools Sphinx sphinx-rtd-theme
26+
- pip install --force-reinstall pylint==1.9.2
3027
script:
31-
- pylint adafruit_htu21d.py
32-
- ([[ ! -d "examples" ]] || pylint --disable=missing-docstring,invalid-name,bad-whitespace examples/*.py)
33-
- circuitpython-build-bundles --filename_prefix adafruit-circuitpython-htu21d --library_location .
34-
- cd docs && sphinx-build -E -W -b html . _build/html
28+
- pylint adafruit_htu21d.py
29+
- ([[ ! -d "examples" ]] || pylint --disable=missing-docstring,invalid-name,bad-whitespace
30+
examples/*.py)
31+
- circuitpython-build-bundles --filename_prefix adafruit-circuitpython-htu21d --library_location
32+
.
33+
- cd docs && sphinx-build -E -W -b html . _build/html && cd ..

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,5 @@
5858

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

0 commit comments

Comments
 (0)