-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy path.travis.yml
27 lines (27 loc) · 1.15 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
language: c
sudo: false
cache:
directories:
- ~/arduino_ide
- ~/.arduino15/packages/
git:
depth: false
quiet: true
env:
global:
# You can uncomment this to explicitly choose an (old) version of the Arduino IDE
#- ARDUINO_IDE_VERSION="1.8.7"
before_install:
- source <(curl -SLs https://raw.githubusercontent.com/adafruit/travis-ci-arduino/master/install.sh)
install:
# Note that every library should be installed in a seperate command
- if [ ! -d "$HOME/arduino_ide/libraries/LibAPRS" ]; then git clone https://github.com/billygr/LibAPRS $HOME/arduino_ide/libraries/LibAPRS; fi
- if [ ! -d "$HOME/arduino_ide/libraries/SimpleTimer" ]; then git clone https://github.com/jfturcot/SimpleTimer $HOME/arduino_ide/libraries/SimpleTimer; fi
- if [ ! -d "$HOME/arduino_ide/libraries/TinyGPS" ]; then git clone https://github.com/mikalhart/TinyGPS $HOME/arduino_ide/libraries/TinyGPS; fi
- if [ ! -d "$HOME/arduino_ide/libraries/TinyGPSPlus" ]; then git clone https://github.com/mikalhart/TinyGPSPlus $HOME/arduino_ide/libraries/TinyGPSPlus; fi
script:
- build_platform uno
notifications:
email:
on_success: change
on_failure: change