-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy path.travis.yml
37 lines (31 loc) · 1.04 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
sudo: false
language: bash
os:
- linux
before_script:
- "export DISPLAY=:99.0"
- sleep 3 # give xvfb some time to start
- wget http://downloads.arduino.cc/arduino-1.8.15-linux64.tar.xz
- tar xf arduino-1.8.15-linux64.tar.xz
- mv arduino-1.8.15 $HOME/arduino_ide
- cd $HOME/arduino_ide/hardware
- mkdir esp32
- cd esp32
- git clone --depth 1 https://github.com/espressif/arduino-esp32.git esp32
- cd esp32
- git submodule update --init --recursive
- cd tools
- python get.py
script:
- cd $TRAVIS_BUILD_DIR
- export PATH="$HOME/arduino_ide:$PATH"
- arduino --board esp32:esp32:esp32:PartitionScheme=min_spiffs,FlashFreq=40 --pref compiler.warning_level=all --save-prefs
- arduino --install-library ArduinoJson
- arduino --install-library "SparkFun VL53L1X 4m Laser Distance Sensor"
- arduino --verbose --verify esp32-cjmcu-531-demo.ino
- cp --preserve --verbose mywifi.sample.h mywifi.h
- arduino --verbose --verify esp32-cjmcu-531-demo.ino
notifications:
email:
on_success: change
on_failure: change