PlatformIO travis (#62)

Travis now tests both Arduino and PlatformIO builds
This commit is contained in:
Owen Carter 2020-09-30 20:25:47 +02:00 committed by GitHub
parent 966976b56c
commit 93db6cb5e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 8 deletions

View File

@ -19,6 +19,8 @@ before_script:
- git submodule update --init --recursive
- cd tools
- python get.py
- pip install --user platformio
- platformio update
script:
- cd $TRAVIS_BUILD_DIR
@ -27,6 +29,7 @@ script:
- arduino --verbose --verify esp32-cam-webserver.ino
- cp --preserve --verbose myconfig.sample.h myconfig.h
- arduino --verbose --verify esp32-cam-webserver.ino
- platformio run
notifications:

View File

@ -1,16 +1,15 @@
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
; The esp32-cam-webserver project is intended to be easily compilable
; with the stock Arduino IDE.
; - Maintaining compatibility with other development environments
; is important, but I wont accept changes to the PlatformIO build that
; break compatibilty with the stock IDE. Eg by using non-standard
; partition schemes or overriding Arduino defined limits, etc.
[platformio]
src_dir = ./
;lib_dir = ../../
[env:esp32cam]
platform = espressif32