Skip to content

Commit

Permalink
Enabled building of library examples on Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
end2endzone committed Jun 1, 2018
1 parent 9fb449c commit 34fab63
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
language: generic
env:
global:
- ARDUINO_IDE_VERSION=1.8.4
matrix:
- BOARD="arduino:avr:nano:cpu=atmega328"
before_install:
- wget http://downloads.arduino.cc/arduino-$ARDUINO_IDE_VERSION-linux64.tar.xz
- tar xf arduino-$ARDUINO_IDE_VERSION-linux64.tar.xz
- mv arduino-$ARDUINO_IDE_VERSION $HOME/arduino-ide
- export PATH=$PATH:$HOME/arduino-ide
- buildExampleSketch() { arduino --verbose-build --verify --board $BOARD $PWD/examples/$1/$1.ino; }
install:
- mkdir -p $HOME/Arduino/libraries
- ln -s $PWD $HOME/Arduino/libraries/.
script:
- buildExampleSketch rtttl_blocking
- buildExampleSketch rtttl_demo
2 changes: 1 addition & 1 deletion CHANGES
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Changes for 1.2.0:

* Fixed issue #3 - Move library to the root of the repository
* New feature: Now using AppVeyor CI to build examples for validing code compilation.
* New feature: Now using AppVeyor and Travis CI to build examples for validing code compilation.

Changes for 1.1.1:

Expand Down

0 comments on commit 34fab63

Please sign in to comment.