/ .travis.yml
.travis.yml
 1  dist: trusty
 2  sudo: false
 3  language: python
 4  python:
 5  - '3.6'
 6  cache:
 7    pip: true
 8  deploy:
 9  - provider: releases
10    api_key: "$GITHUB_TOKEN"
11    file_glob: true
12    file: "$TRAVIS_BUILD_DIR/bundles/*"
13    skip_cleanup: true
14    overwrite: true
15    on:
16      tags: true
17  - provider: pypi
18    user: adafruit-travis
19    on:
20      tags: true
21    password:
22      secure: oqlm4dJIzX2JH8Qbd+qU0g+M+1NSHD0f9pWQxvdhl+JlCtzRmBtyv6t24EN+SUGD3eKOK9A21/+QxsQJ2sB8/g8qh07OUNKw+erv9NqA2Wc0oHvOpwpN+TkS6hF0GI/Tn53hwm+qiTsXmBfbDoXDyu6Qe9rsht7Llv1wbHErCk7vkZ9zEL0zfhkgV5hzXPoRdwQclLeyleoJMyw0ZdfPqupMCGGAMPd6aTIYQfJ1PVmzYu9VqtK7yEB9lltc6U16dwp2huN2HBz5EzlRWszCli8mx1+MuZxNFlYkMo8vgWpSQmJpw22nSzI8ez57QibNGEm9u4Y9nb7PlzH9ZOeTVI7OZ9k3BPSN0db8WKGLz9VJxyTilqPNs737TCf36tdshPnuEtEDwk8YNReyK5uE5TnjnnXL2g3qSyhIniKLusY5d9cF3PEhwG6DcNqt39NrT6rG9PaeURYzKY19BgwhWD2CucEM6RDBRp+31citzM35NjET+5+xSOmDXdCdr+Ar+AWNxyfGn0N+Za/de8JyFjuk5TN4muB61eJPXPpinn8+egNyeiONPT96vJDVvFrEdG3bIEspYd6ZAMQ8Aou1Ii+CxOEXiY+57AK20LAieX8Nv2sTLLHo5wa7c4xghHVZdN187cesqm0LZtNYGhs/CeMP+9bC3bn7/IHGdcRZvg4=
23  install:
24  - pip install -r requirements.txt
25  - pip install pylint circuitpython-build-tools Sphinx sphinx-rtd-theme
26  - pip install --force-reinstall pylint==1.9.2
27  script:
28  - pylint adafruit_seesaw/*.py
29  - ([[ ! -d "examples" ]] || pylint --disable=missing-docstring,invalid-name examples/*.py)
30  - circuitpython-build-bundles --filename_prefix adafruit-circuitpython-seesaw --library_location
31    .
32  - cd docs && sphinx-build -E -W -b html . _build/html && cd ..