Skip to content

Commit 2804296

Browse files
committed
Initial Travis CI config
1 parent 63ac7e7 commit 2804296

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.travis.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
language: generic
2+
env:
3+
global:
4+
- IDE_VERSION=1.8.5
5+
matrix:
6+
- BOARD="arduino:avr:uno"
7+
before_install:
8+
- wget http://downloads.arduino.cc/arduino-$IDE_VERSION-linux64.tar.xz
9+
- tar xf arduino-$IDE_VERSION-linux64.tar.xz
10+
- mv arduino-$IDE_VERSION $HOME/arduino-ide
11+
- export PATH=$PATH:$HOME/arduino-ide
12+
- buildExampleSketch() { arduino --verbose-build --verify --board $BOARD $PWD/examples/$1/$1.ino; }
13+
install:
14+
- mkdir -p $HOME/Arduino/libraries
15+
- ln -s $PWD $HOME/Arduino/libraries/CAN
16+
script:
17+
- buildExampleSketch CANReceiver
18+
- buildExampleSketch CANReceiverCallback
19+
- buildExampleSketch CANSender

0 commit comments

Comments
 (0)