Travis add variable check
This commit is contained in:
parent
cf5b098c0c
commit
4f2382ad8c
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ script:
|
|||
- |
|
||||
for example in $(find $PWD/examples -name '*.ino' | sort); do
|
||||
# check whether to skip this sketch
|
||||
if [[ ${example} =~ $SKIP_PAT ]]; then
|
||||
if [ ! -z "$SKIP_PAT" ] && [[ ${example} =~ $SKIP_PAT ]]; then
|
||||
# skip sketch
|
||||
echo -e "\n\033[1;33mSkipped ${example##*/} (matched with $SKIP_PAT)\033[0m";
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue