-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
35 lines (35 loc) · 1.92 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
29
30
31
32
33
34
35
language: c
before_install:
# Download and install Arduino IDE environment
- wget http://downloads.arduino.cc/arduino-1.8.5-linux64.tar.xz
- tar xf arduino-1.8.5-linux64.tar.xz
- sudo mv arduino-1.8.5 /usr/local/share/arduino
- sudo ln -s /usr/local/share/arduino/arduino /usr/local/bin/arduino
install:
# Install the library in the arduino user libraries folder
- ln -s $PWD /usr/local/share/arduino/libraries/Easyuino
script:
################################## Examples To Build ###################################
# Communication
- arduino --verify --board arduino:avr:uno $PWD/examples/GSMServiceExample/GSMServiceExample.ino
- arduino --verify --board arduino:avr:uno $PWD/examples/GSMServiceSecureExample/GSMServiceSecureExample.ino
# Led
- arduino --verify --board arduino:avr:uno $PWD/examples/RGBLedExample/RGBLedExample.ino
# SevenSegments
- arduino --verify --board arduino:avr:uno $PWD/examples/SevenSegmentsExample/SevenSegmentsExample.ino
# Relay
- arduino --verify --board arduino:avr:uno $PWD/examples/RelayExample/RelayExample.ino
- arduino --verify --board arduino:avr:uno $PWD/examples/RelayNamedExample/RelayNamedExample.ino
# Ultrasonic
- arduino --verify --board arduino:avr:uno $PWD/examples/DistanceMeterExample/DistanceMeterExample.ino
- arduino --verify --board arduino:avr:uno $PWD/examples/DistanceMeterNonBlockExample/DistanceMeterNonBlockExample.ino
- arduino --verify --board arduino:avr:uno $PWD/examples/DistanceMeterAccurateExample/DistanceMeterAccurateExample.ino
# WaterDetector
- arduino --verify --board arduino:avr:uno $PWD/examples/WaterDetectorExample/WaterDetectorExample.ino
# WaterFlow
- arduino --verify --board arduino:avr:uno $PWD/examples/WaterFlowSensorExample/WaterFlowSensorExample.ino
- arduino --verify --board arduino:avr:uno $PWD/examples/WaterFlowMeterExample/WaterFlowMeterExample.ino
notifications:
email:
on_success: change
on_failure: change