-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
37 lines (36 loc) · 1.27 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
36
37
language: c
sudo: false
cache:
directories:
- ~/arduino_ide
- ~/.arduino15/packages/
git:
depth: false
quiet: true
addons:
apt:
packages:
- python3
- python3-pip
- python3-setuptools
env:
global:
# You can uncomment this to explicitly choose an (old) version of the Arduino IDE
#- ARDUINO_IDE_VERSION="1.8.10"
before_install:
- source <(curl -SLs https://raw.githubusercontent.com/adafruit/travis-ci-arduino/master/install.sh)
install:
- git -C ~/arduino_ide/libraries/Adafruit_PCD8544_Nokia_5110_LCD_library pull || git clone https://github.com/adafruit/Adafruit-PCD8544-Nokia-5110-LCD-library.git ~/arduino_ide/libraries/Adafruit_PCD8544_Nokia_5110_LCD_library
- git -C ~/arduino_ide/libraries/Low-Power pull || git clone https://github.com/rocketscream/Low-Power ~/arduino_ide/libraries/Low-Power
# Note that every library should be installed in a seperate command
- arduino --install-library "SparkFun CCS811 Arduino Library"
- arduino --install-library "SparkFun BME280"
- arduino --install-library "Adafruit GFX Library"
# - arduino --install-library "Adafruit PCD8544"
- arduino --install-library "Arduino Low Power"
script:
- build_main_platforms
notifications:
email:
on_success: change
on_failure: change