PlatformIO travis (#62)
Travis now tests both Arduino and PlatformIO builds
This commit is contained in:
parent
966976b56c
commit
93db6cb5e6
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue