File tree Expand file tree Collapse file tree 2 files changed +21
-22
lines changed Expand file tree Collapse file tree 2 files changed +21
-22
lines changed Original file line number Diff line number Diff line change 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
-
6
1
dist : trusty
7
2
sudo : false
8
3
language : python
9
4
python :
10
- - " 3.6"
11
-
5
+ - ' 3.6'
12
6
cache :
13
- pip : true
14
-
7
+ pip : true
15
8
deploy :
16
- provider : releases
17
- api_key : $GITHUB_TOKEN
9
+ - provider : releases
10
+ api_key : " $GITHUB_TOKEN"
18
11
file_glob : true
19
- file : $TRAVIS_BUILD_DIR/bundles/*
12
+ file : " $TRAVIS_BUILD_DIR/bundles/*"
20
13
skip_cleanup : true
21
14
overwrite : true
22
15
on :
23
16
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=
25
23
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
30
27
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 ..
Original file line number Diff line number Diff line change 58
58
59
59
# You can just specify the packages manually here if your project is
60
60
# simple. Or you can use find_packages().
61
- py_modules = ['adafruit_HTU21D ' ],
61
+ py_modules = ['adafruit_htu21d ' ],
62
62
)
You can’t perform that action at this time.
0 commit comments