diff --git a/.github/workflows/githubci.yml b/.github/workflows/githubci.yml new file mode 100644 index 0000000..37eb2c8 --- /dev/null +++ b/.github/workflows/githubci.yml @@ -0,0 +1,32 @@ +name: Arduino Library CI + +on: [pull_request, push, repository_dispatch] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/setup-python@v1 + with: + python-version: '3.x' + - uses: actions/checkout@v2 + - uses: actions/checkout@v2 + with: + repository: adafruit/ci-arduino + path: ci + + - name: pre-install + run: bash ci/actions_install.sh + + - name: test platforms + run: python3 ci/build_platform.py main_platforms + + - name: clang + run: python3 ci/run-clang-format.py -e "ci/*" -e "bin/*" -r . + + - name: doxygen + env: + GH_REPO_TOKEN: ${{ secrets.GH_REPO_TOKEN }} + PRETTYNAME : "Adafruit TLC59711" + run: bash ci/doxy_gen_and_deploy.sh diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index a60b42b..0000000 --- a/.travis.yml +++ /dev/null @@ -1,26 +0,0 @@ -language: c -sudo: false - -cache: - directories: - - ~/arduino_ide - - ~/.arduino15/packages/ - -git: - depth: false - quiet: true - -env: - global: - - ARDUINO_IDE_VERSION="1.8.7" - - PRETTYNAME="Adafruit TLC59711" - -before_install: - - source <(curl -SLs https://raw.githubusercontent.com/adafruit/travis-ci-arduino/master/install.sh) - -script: - - build_main_platforms - -after_success: - - source <(curl -SLs https://raw.githubusercontent.com/adafruit/travis-ci-arduino/master/library_check.sh) - - source <(curl -SLs https://raw.githubusercontent.com/adafruit/travis-ci-arduino/master/doxy_gen_and_deploy.sh) diff --git a/Adafruit_TLC59711.cpp b/Adafruit_TLC59711.cpp index 70d2820..fe34895 100644 --- a/Adafruit_TLC59711.cpp +++ b/Adafruit_TLC59711.cpp @@ -123,7 +123,7 @@ void Adafruit_TLC59711::write() { delayMicroseconds(200); else delayMicroseconds(2); - _spi->endTransaction(); + _spi->endTransaction(); interrupts(); } diff --git a/README.md b/README.md index 1a986ee..b654a5a 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,4 @@ -Adafruit_TLC59711 [![Build Status](https://travis-ci.com/adafruit/Adafruit_TLC59711.svg?branch=master)](https://travis-ci.com/adafruit/Adafruit_TLC59711) -================ +# Adafruit TLC59711 [![Build Status](https://github.com/adafruit/Adafruit_TLC59711/workflows/Arduino%20Library%20CI/badge.svg)](https://github.com/adafruit/Adafruit_TLC59711/actions) diff --git a/library.properties b/library.properties index 60f9bb3..7eb270f 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=Adafruit TLC59711 -version=1.1.0 +version=1.1.1 author=Adafruit maintainer=Adafruit sentence=Library for our Adafruit 12-channel PWM/LED driver.