]> Repositories - hackapet/Adafruit_Blinka.git/blob - .travis.yml
Moved bytecode .gitignore into root to cleanup src folders
[hackapet/Adafruit_Blinka.git] / .travis.yml
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 dist: trusty
7 sudo: false
8 language: python
9 python:
10     - "3.6"
11
12 cache:
13     pip: true
14
15 deploy:
16   provider: releases
17   api_key: $GITHUB_TOKEN
18   file_glob: true
19   file: bundles/*
20   skip_cleanup: true
21   overwrite: true
22   on:
23     tags: true
24
25 install:
26   - pip install pylint circuitpython-build-tools Sphinx sphinx-rtd-theme
27
28 script:
29   - pylint adafruit_blinka.py
30   - ([[ ! -d "examples" ]] || pylint --disable=missing-docstring,invalid-name,bad-whitespace examples/*.py)
31   - circuitpython-build-bundles --filename_prefix adafruit-circuitpython-blinka --library_location .
32   - cd docs && sphinx-build -E -W -b html . _build/html