forked from McNeight/CAN_Library
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
28 lines (28 loc) · 1.6 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
language: c
sudo: false
before_install:
- "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_1.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :1 -ac -screen 0 1280x1024x16"
- sleep 3
- export DISPLAY=:1.0
- wget http://downloads.arduino.cc/arduino-1.6.9-linux64.tar.xz
- tar xf arduino-1.6.9-linux64.tar.xz
- mv arduino-1.6.9 $HOME/arduino_ide
install:
- ln -s $PWD $HOME/arduino_ide/libraries/CAN_Library
- export PATH="$HOME/arduino_ide:$PATH"
- arduino --install-boards "arduino:sam"
script:
- arduino --verify --board arduino:avr:uno $PWD/examples/ExtendedPingPong/ExtendedPingPong.ino
- arduino --verify --board arduino:avr:uno $PWD/examples/ReceiveAnyMessages/ReceiveAnyMessages.ino
- arduino --verify --board arduino:avr:uno $PWD/examples/ReceiveCANMessages/ReceiveCANMessages.ino
- arduino --verify --board arduino:avr:uno $PWD/examples/SendAnyMessages/SendAnyMessages.ino
- arduino --verify --board arduino:avr:uno $PWD/examples/SendCANMessages/SendCANMessages.ino
- arduino --verify --board arduino:sam:arduino_due_x $PWD/examples/ExtendedPingPong/ExtendedPingPong.ino
- arduino --verify --board arduino:sam:arduino_due_x $PWD/examples/ReceiveAnyMessages/ReceiveAnyMessages.ino
- arduino --verify --board arduino:sam:arduino_due_x $PWD/examples/ReceiveCANMessages/ReceiveCANMessages.ino
- arduino --verify --board arduino:sam:arduino_due_x $PWD/examples/SendAnyMessages/SendAnyMessages.ino
- arduino --verify --board arduino:sam:arduino_due_x $PWD/examples/SendCANMessages/SendCANMessages.ino
notifications:
email:
on_success: change
on_failure: change