Adafruit_MicroPython_MAX31685/.travis.yml

32 lines
866 B
YAML
Raw Normal View History

# This is a common .travis.yml for generating library release zip files for
# CircuitPython library releases using circuitpython-build-tools.
# See https://github.com/adafruit/circuitpython-build-tools for detailed setup
# instructions.
2017-12-01 10:38:25 +01:00
dist: trusty
sudo: false
language: python
python:
- "3.6"
cache:
pip: true
2017-12-01 10:38:25 +01:00
deploy:
provider: releases
api_key: $GITHUB_TOKEN
file_glob: true
2018-03-02 03:43:19 +01:00
file: $TRAVIS_BUILD_DIR/bundles/*
2017-12-01 10:38:25 +01:00
skip_cleanup: true
2018-03-02 03:43:19 +01:00
overwrite: true
2017-12-01 10:38:25 +01:00
on:
tags: true
install:
2018-03-02 03:43:19 +01:00
- pip install pylint circuitpython-build-tools Sphinx sphinx-rtd-theme
2017-12-01 10:38:25 +01:00
script:
- pylint adafruit_max31865.py
- ([[ ! -d "examples" ]] || pylint --disable=missing-docstring,invalid-name examples/*.py)
- circuitpython-build-bundles --filename_prefix adafruit-circuitpython-max31865 --library_location .
2018-03-02 03:43:19 +01:00
- cd docs && sphinx-build -E -W -b html . _build/html