-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.travis.yml
38 lines (32 loc) · 1014 Bytes
/
.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
38
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.10"
before_install:
- source <(curl -SLs https://raw.githubusercontent.com/adafruit/travis-ci-arduino/master/install.sh)
install:
# Note that every library could be installed in a separate command as follows:
# - arduino --install-library "Adafruit SleepyDog Library"
# - arduino --install-library "Adafruit FONA Library"
# Or insteady by moving/copying all suggested project libraries to the build system library folder:
- cp -R ./lib/** /home/travis/arduino_ide/libraries/
script:
- bash ./travis-prebuild.sh # allows skipping unsupported platforms
- cd examples/all
- build_platform esp8266
- cd ../..
- cd examples/simple
- build_platform esp8266
notifications:
email:
on_success: change
on_failure: change