Skip to content

Commit

Permalink
Add initial Travis CI config
Browse files Browse the repository at this point in the history
  • Loading branch information
sandeepmistry committed Nov 30, 2017
1 parent 4c7480b commit 6083e12
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
language: generic
env:
global:
- IDE_VERSION=1.8.5
matrix:
- BOARD="arduino:samd:mkrgsm1400"
before_install:
- wget http://downloads.arduino.cc/arduino-$IDE_VERSION-linux64.tar.xz
- tar xf arduino-$IDE_VERSION-linux64.tar.xz
- mv arduino-$IDE_VERSION $HOME/arduino-ide
- export PATH=$PATH:$HOME/arduino-ide
- if [[ "$BOARD" =~ "arduino:samd:" ]]; then
arduino --install-boards arduino:samd;
fi
- buildExampleSketch() { arduino --verbose-build --verify --board $BOARD $PWD/examples/$1/$1.ino; }
- buildExampleToolsSketch() { arduino --verbose-build --verify --board $BOARD $PWD/examples/Tools/$1/$1.ino; }
install:
- mkdir -p $HOME/Arduino/libraries
- ln -s $PWD $HOME/Arduino/libraries/.
script:
- buildExampleSketch GsmWebClient
- buildExampleSketch GsmWebServer
- buildExampleSketch MakeVoiceCall
- buildExampleSketch ReceiveSMS
- buildExampleSketch ReceiveVoiceCall
- buildExampleSketch SendSMS
- buildExampleToolsSketch BandManagement
- buildExampleToolsSketch GsmScanNetworks
- buildExampleToolsSketch PinManagement
- buildExampleToolsSketch TestGPRS
- buildExampleToolsSketch TestModem
- buildExampleToolsSketch TestWebServer

0 comments on commit 6083e12

Please sign in to comment.