From 03c7ddcf87290b2f2ca628a8ff6b12ad2d285ef9 Mon Sep 17 00:00:00 2001 From: T81 Date: Tue, 22 May 2018 15:01:49 +0300 Subject: [PATCH] Restored library.json file. Added Travis CI support --- .travis.yml | 20 ++++++++++++++++++++ library.json | 16 ++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 .travis.yml create mode 100644 library.json diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..546856f --- /dev/null +++ b/.travis.yml @@ -0,0 +1,20 @@ +language: python + +cache: + directories: + - "~/.platformio" + +install: +- pip install -U platformio + +env: +- BOARD=uno +- BOARD=leonardo +- BOARD=megaatmega2560 +- BOARD=due + +script: +- set -eo pipefail; + for e in examples/*; do + platformio ci --board=$BOARD --lib=. $e/*; +done \ No newline at end of file diff --git a/library.json b/library.json new file mode 100644 index 0000000..327baa8 --- /dev/null +++ b/library.json @@ -0,0 +1,16 @@ +{ + "name": "Bounce2", + "keywords": "bounce, signal, input, ouput", + "description": "Debouncing library for Arduino or Wiring", + "repository": { + "type": "git", + "url": "https://github.com/thomasfredericks/Bounce2.git" + }, + "version": "2.41", + "exclude": [ + "*.png", + "*.zip" + ], + "frameworks": "arduino", + "platforms": "*" +}