We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87c6c80 commit 64c8908Copy full SHA for 64c8908
examples/ParticleWebSocketClient/.esp8266.skip
examples/WebSocketClientAVR/.esp8266.skip
travis/common.sh
@@ -0,0 +1,24 @@
1
+#!/bin/bash
2
+
3
+function build_sketches()
4
+{
5
+ local arduino=$1
6
+ local srcpath=$2
7
+ local platform=$3
8
+ local sketches=$(find $srcpath -name *.ino)
9
+ for sketch in $sketches; do
10
+ local sketchdir=$(dirname $sketch)
11
+ if [[ -f "$sketchdir/.$platform.skip" ]]; then
12
+ echo -e "\n\n ------------ Skipping $sketch ------------ \n\n";
13
+ continue
14
+ fi
15
+ echo -e "\n\n ------------ Building $sketch ------------ \n\n";
16
+ $arduino --verify $sketch;
17
+ local result=$?
18
+ if [ $result -ne 0 ]; then
19
+ echo "Build failed ($1)"
20
+ return $result
21
22
+ done
23
+}
24
0 commit comments