Files
esp32-cam-webserver/.travis.yml

48 lines
1.1 KiB
YAML
Raw Normal View History

2020-08-18 03:40:27 +02:00
sudo: false
language: bash
os:
- linux
dist: focal
branches:
only:
- master
2020-08-18 03:40:27 +02:00
before_script:
- "export DISPLAY=:99.0"
- sleep 3 # give xvfb some time to start
2021-12-16 16:20:55 +01:00
- wget https://downloads.arduino.cc/arduino-1.8.18-linux64.tar.xz
- tar xf arduino-1.8.18-linux64.tar.xz
- mv arduino-1.8.18 $HOME/arduino_ide
2020-08-18 03:40:27 +02:00
- cd $HOME/arduino_ide/hardware
- mkdir esp32
- cd esp32
2021-12-16 16:20:55 +01:00
- wget https://github.com/espressif/arduino-esp32/archive/refs/tags/2.0.1.tar.gz
- tar -xzf 2.0.1.tar.gz
- mv arduino-esp32-2.0.1/ esp32
- cd esp32/tools
- python --version
2020-08-18 03:40:27 +02:00
- python get.py
- pip install --user platformio
- platformio update
2020-08-18 03:40:27 +02:00
script:
- cd $TRAVIS_BUILD_DIR
- export PATH="$HOME/arduino_ide:$PATH"
- arduino --board esp32:esp32:esp32:PSRAM=enabled,PartitionScheme=min_spiffs,CPUFreq=240,FlashMode=qio,FlashFreq=80,DebugLevel=none --pref compiler.warning_level=all --save-prefs
2020-08-18 03:40:27 +02:00
- arduino --verbose --verify esp32-cam-webserver.ino
- cp --preserve --verbose myconfig.sample.h myconfig.h
- arduino --verbose --verify esp32-cam-webserver.ino
- platformio run
2020-08-18 03:40:27 +02:00
notifications:
email:
on_success: change
on_failure: change