travis is not detecting the libraries required to build the sketch

This commit is contained in:
Me No Dev 2016-02-01 18:31:12 +02:00
parent ab1badfb61
commit 566f9de92b
3 changed files with 6 additions and 5 deletions

View File

@ -1,4 +1,7 @@
#ifdef ESP8266
#include <ESP8266WiFi.h>
#include <ESPAsyncTCP.h>
#include <ESPAsyncWebServer.h>
void begin(){}
void loop(){}
#else

View File

@ -1,4 +1,7 @@
#ifdef ESP31B
#include <ESP31BWiFi.h>
#include <ESPAsyncTCP.h>
#include <ESPAsyncWebServer.h>
void begin(){}
void loop(){}
#else

View File

@ -6,11 +6,6 @@ function build_sketches()
local srcpath=$2
local sketches=$(find $srcpath -name *.ino)
for sketch in $sketches; do
local sketchdir=$(dirname $sketch)
if [[ -f "$sketchdir/.test.skip" ]]; then
echo -e "\n\n ------------ Skipping $sketch ------------ \n\n";
continue
fi
echo -e "\n\n ------------ Building $sketch ------------ \n\n";
$arduino --verify $sketch;
local result=$?