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/INSTALL.txt b/INSTALL.txt deleted file mode 100644 index 0bd2f8e..0000000 --- a/INSTALL.txt +++ /dev/null @@ -1 +0,0 @@ -Put the "Bounce2" folder in your Arduino or Wiring "libraries" folder. diff --git a/README.md b/README.md index 211a035..83d8fa2 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,11 @@ Download the latest version (version 2) here : https://github.com/thomasfredericks/Bounce2/archive/master.zip +INSTALLATION +===================== +Put the "Bounce2" folder in your Arduino or Wiring "libraries" folder. + + DOCUMENTATION ===================== diff --git a/Bounce1.zip b/extras/Bounce1.zip similarity index 100% rename from Bounce1.zip rename to extras/Bounce1.zip diff --git a/BouncySwitch_lockout.png b/extras/BouncySwitch_lockout.png similarity index 100% rename from BouncySwitch_lockout.png rename to extras/BouncySwitch_lockout.png diff --git a/BouncySwitch_stable.png b/extras/BouncySwitch_stable.png similarity index 100% rename from BouncySwitch_stable.png rename to extras/BouncySwitch_stable.png diff --git a/examples/circuit-bounce-change-duration-retrigger.png b/extras/circuit-bounce-change-duration-retrigger.png similarity index 100% rename from examples/circuit-bounce-change-duration-retrigger.png rename to extras/circuit-bounce-change-duration-retrigger.png diff --git a/Bounce2.cpp b/src/Bounce2.cpp similarity index 100% rename from Bounce2.cpp rename to src/Bounce2.cpp diff --git a/Bounce2.h b/src/Bounce2.h similarity index 100% rename from Bounce2.h rename to src/Bounce2.h