-# 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.
-
dist: trusty
sudo: false
language: python
pip: true
deploy:
- - provider: releases
- api_key: $GITHUB_TOKEN
- file_glob: true
- file: bundles/*
- skip_cleanup: true
- overwrite: true
- on:
- tags: true
- provider: pypi
user: adafruit-travis
password:
tags: true
install:
- - pip install pylint circuitpython-build-tools Sphinx sphinx-rtd-theme
+ - pip install -r requirements.txt
+ - pip install --force-reinstall pylint==1.9.2
+ - pip install circuitpython-build-tools Sphinx sphinx-rtd-theme
script:
- pylint src/**/*.py
- ([[ ! -d "examples" ]] || pylint --disable=missing-docstring,invalid-name,bad-whitespace examples/*.py)
- - circuitpython-build-bundles --filename_prefix adafruit-circuitpython-blinka --library_location src/
- - cd docs && sphinx-build -E -W -b html . _build/html
+ - cd docs && sphinx-build -E -W -b html . _build/html && cd ..