File tree Expand file tree Collapse file tree 2 files changed +24
-19
lines changed Expand file tree Collapse file tree 2 files changed +24
-19
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
4
+ git :
5
+ depth : 1
9
6
python :
10
- - " 3.6"
11
-
7
+ - ' 3.6'
12
8
cache :
13
- pip : true
14
-
9
+ pip : true
15
10
deploy :
16
- provider : releases
17
- api_key : $GITHUB_TOKEN
11
+ - provider : releases
12
+ api_key : " $GITHUB_TOKEN"
18
13
file_glob : true
19
- file : $TRAVIS_BUILD_DIR/bundles/*
14
+ file : " $TRAVIS_BUILD_DIR/bundles/*"
20
15
skip_cleanup : true
21
16
overwrite : true
22
17
on :
23
18
tags : true
24
19
25
- install :
26
- - pip install pylint circuitpython-build-tools Sphinx sphinx-rtd-theme
20
+ - provider : pypi
21
+ user : adafruit-travis
22
+ password :
23
+ secure : Dj5qXdDsdy31S6MPBnDLDyorGywj0l3QQIl6isxCPbvUgcf29Cl5m15ThiAbl8bTV3NjpiW05Gu733O3fq4wnzGb5Abg+RTGOmT0uAd40oIdVNIgMX5A6/BVTsfePgsVrnM9IVCtfS7Cn0ygT2Ut+RCKMgweHtNa2+Kng1n4blUFb5lJNN1viZATKrXBYRksAh49fVMv1mH4HE3R85LD63wkIyfyv4dGyiD1YPC/EdhVYMCiE/7T8K3tg4bu3A/bGlpQlBZvxWPBAPInh6+wel5RaOzSGT1/br4oRxHvSf2Hua7Y8fJLC7lHf4Ob9GR7ONsUxmvKgYCcObYpVdm3wNM8Az8VfcJ2QzZb5q/YpWr7w6KZtN28P4HX8QdfuaqWLPPmj10+dN2OnwnCK0Me7DoKSrS9V6WXFEc0kbA0OQS2jYuQrLUPmEQdb5sEHJGgA6zKuP5rWJCY1f8MPvn2I4FaRD8XtB/YHeTyZsZzn6w07Ho2qkZe3Ev3KRb5R2qiXMq94GLI2RIFuEi6ZTB//51FxyzwqFFzSREin6t1XROAR1QG1CpPH5kJ4frUvUV+l/7Z74+T1pNv1npuTEt8pZg/pkF1gKA5480GVsKwYAxj4BNKf7ZGLsDoX3eGqrQsRLslcpphIQzhs4sGM2ZhxcQ+tA0UxdmhBXiwlYcV5Rk=
24
+ on :
25
+ tags : true
27
26
27
+ install :
28
+ - pip install pylint circuitpython-build-tools Sphinx sphinx-rtd-theme
28
29
script :
29
- - pylint adafruit_register/*.py
30
- - ([[ ! -d "examples" ]] || pylint --disable=missing-docstring,invalid-name examples/*.py)
31
- - circuitpython-build-bundles --filename_prefix adafruit-circuitpython-register --library_location .
32
- - cd docs && sphinx-build -E -W -b html . _build/html
30
+ - pylint adafruit_register/*.py
31
+ - ([[ ! -d "examples" ]] || pylint --disable=missing-docstring,invalid-name examples/*.py)
32
+ - circuitpython-build-bundles --filename_prefix adafruit-circuitpython-register --library_location
33
+ .
34
+ - cd docs && sphinx-build -E -W -b html . _build/html && cd ..
Original file line number Diff line number Diff line change 25
25
26
26
description = 'CircuitPython data descriptor classes to represent hardware registers on I2C and SPI devices.' ,
27
27
long_description = long_description ,
28
+ long_description_content_type = 'text/x-rst' ,
28
29
29
30
# The project's main homepage.
30
31
url = 'https://github.com/adafruit/Adafruit_CircuitPython_Register' ,
31
32
32
33
# Author details
33
34
author = 'Adafruit Industries' ,
34
-
35
+
36
+
37
+ install_requires = [],
35
38
36
39
# Choose your license
37
40
license = 'MIT' ,
You can’t perform that action at this time.
0 commit comments