From ad42149c56efd4af1de0823b5cead8245b67906c Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Sat, 23 May 2015 19:35:45 +0300 Subject: [PATCH 1/2] Continuous Integration with @travis-ci + @PlatformIO --- .travis.yml | 24 ++++++++++++++++++++++++ README.md | 2 ++ 2 files changed, 26 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..63d901f --- /dev/null +++ b/.travis.yml @@ -0,0 +1,24 @@ +language: python +python: + - "2.7" + +env: + - PLATFORMIO_CI_SRC=examples/AiwaRCT501SendDemo PLATFORMIO_BUILD_FLAGS="-DSEND_AIWA_RC_T501" + - PLATFORMIO_CI_SRC=examples/IRrecord PLATFORMIO_BUILD_FLAGS="-DSEND_NEC -DSEND_SONY -DSEND_RC5 -DSEND_RC6" + - PLATFORMIO_CI_SRC=examples/IRrecvDemo + - PLATFORMIO_CI_SRC=examples/IRrecvDump + - PLATFORMIO_CI_SRC=examples/IRrelay + - PLATFORMIO_CI_SRC=examples/IRsendDemo PLATFORMIO_BUILD_FLAGS="-DSEND_SONY" + - PLATFORMIO_CI_SRC=examples/IRtest PLATFORMIO_BUILD_FLAGS="-DSEND_NEC -DSEND_SONY -DSEND_RC5 -DSEND_RC6" + - PLATFORMIO_CI_SRC=examples/IRtest2 PLATFORMIO_BUILD_FLAGS="-DSEND_NEC -DSEND_SONY -DSEND_RC5 -DSEND_RC6" + - PLATFORMIO_CI_SRC=examples/JVCPanasonicSendDemo PLATFORMIO_BUILD_FLAGS="-DSEND_JVC -DSEND_PANASONIC" + +install: + - python -c "$(curl -fsSL https://raw.githubusercontent.com/platformio/platformio/master/scripts/get-platformio.py)" + + # Temporary using PlatformIO from development branch + # @TODO remove this line after 2.0.1 release + - pip install https://github.com/platformio/platformio/archive/develop.zip + +script: + - platformio ci --lib="." --board=uno --board=leonardo --board=pro16MHzatmega168 diff --git a/README.md b/README.md index 3fee473..4ea51fd 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +[![Build Status](https://travis-ci.org/shirriff/Arduino-IRremote.svg)](https://travis-ci.org/shirriff/Arduino-IRremote) +__________ NOTE: THIS NEEDS TO BE FIXED.... PLEASE JUST USE THE LATEST RELEASE AND NOT THE MASTER BRANCH!!!! # IRremote Arduino Library This library enables you to send and receive using infra-red signals on an arduino. From 3a21c0e413857ccec387904896c5a592cf66016a Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Wed, 27 May 2015 17:18:01 +0300 Subject: [PATCH 2/2] Switch to stable release of @PlatformIO --- .travis.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 63d901f..51640b1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,9 +16,5 @@ env: install: - python -c "$(curl -fsSL https://raw.githubusercontent.com/platformio/platformio/master/scripts/get-platformio.py)" - # Temporary using PlatformIO from development branch - # @TODO remove this line after 2.0.1 release - - pip install https://github.com/platformio/platformio/archive/develop.zip - script: - platformio ci --lib="." --board=uno --board=leonardo --board=pro16MHzatmega168