Skip to content

Commit 49fa118

Browse files
committed
Update travis to deploy to pypi
1 parent 59d2f08 commit 49fa118

File tree

1 file changed

+23
-19
lines changed

1 file changed

+23
-19
lines changed

.travis.yml

100644100755
+23-19
Original file line numberDiff line numberDiff line change
@@ -7,26 +7,30 @@ dist: trusty
77
sudo: false
88
language: python
99
python:
10-
- "3.6"
11-
10+
- '3.6'
1211
cache:
13-
pip: true
14-
12+
pip: true
1513
deploy:
16-
provider: releases
17-
api_key: $GITHUB_TOKEN
18-
file_glob: true
19-
file: $TRAVIS_BUILD_DIR/bundles/*
20-
skip_cleanup: true
21-
overwrite: true
22-
on:
23-
tags: true
24-
14+
matrix:
15+
- provider: releases
16+
api_key: "$GITHUB_TOKEN"
17+
file_glob: true
18+
file: "$TRAVIS_BUILD_DIR/bundles/*"
19+
skip_cleanup: true
20+
overwrite: true
21+
on:
22+
tags: true
23+
- provider: pypi
24+
user: adafruit-travis
25+
password:
26+
secure: rt83XuW2Dp8ClebsiVRXLEL0FTS2pJf5POM3R+4S6OCT8nFcb30Ipc0WFMFipNn+tpPPMpSmrscC/on6CBR244BoZyL4Ipbkosz1u9IHOfPSubrii7JlJ7bFrVvg/wYqtYuodED5EIWlrtPNWcfMnMfjOHzlBX/lrjQa6ZLXyNP1HaiBsmCsom/br/SxifHuPWy+KIQZCvv97sFZlzmLk+8mhOUm2y18FDFgQJ4o9qXehuJlrmCoI84RChrHIFG/9G97PmJS0g52B0nidI6YHaBmTsyUvkHSxB4S3xEyFA+chtpWFvu8kXjQA8pCmWYxaqrY6BVHKWt95Deu4DKyd2yRgGIb0oN0VmvRELT45/5MdVXhixu/TLRkUJxoSN0u7G4D2AmGU4TxWswCL+o1mgnulzCYfwaw4wwyEbdZNfwoC6mAM7N+UtDNNfnJepItL6UXgNZk5ZrDNofYeXe452mnHH1Mi3nTi+s3H17f9iopiX1WZZfw5MVBF+c/Wk6btF+dvav1GMjIAIeeycfFOgFWq8roRYF7OnjA1cx0w2j/t6hraj1TO4Xyfj3IObZ+I29jw6c9KAhTQPoHOSWj6DSL5l66XlH+KWArWmZvATiEtwSIzx1pK8+dM9YbmxCj/eQUmwhot1iVGXVrIyCATr48u7E9RcBbj4E2NnNBRgc=
27+
on:
28+
tags: true
2529
install:
26-
- pip install pylint circuitpython-build-tools Sphinx sphinx-rtd-theme
27-
30+
- pip install pylint circuitpython-build-tools Sphinx sphinx-rtd-theme
2831
script:
29-
- pylint adafruit_bus_device/*.py
30-
- ([[ ! -d "examples" ]] || pylint --disable=missing-docstring,invalid-name examples/*.py)
31-
- circuitpython-build-bundles --filename_prefix adafruit-circuitpython-bus-device --library_location .
32-
- cd docs && sphinx-build -E -W -b html . _build/html
32+
- pylint adafruit_bus_device/*.py
33+
- ([[ ! -d "examples" ]] || pylint --disable=missing-docstring,invalid-name examples/*.py)
34+
- circuitpython-build-bundles --filename_prefix adafruit-circuitpython-bus-device
35+
--library_location .
36+
- cd docs && sphinx-build -E -W -b html . _build/html && cd ..

0 commit comments

Comments
 (0)