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": "*" +}