Skip to content

Commit eb4e891

Browse files
authored
Update build.sh
1 parent 47421b8 commit eb4e891

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

tools/build.sh

+4-9
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,9 @@
11
#!/bin/bash
22

3-
# run cmake tests
4-
tools/check_cmakelists.sh
5-
if [ $? -ne 0 ]; then exit 1; fi
6-
7-
# run sketch tests
8-
tools/build-tests.sh
9-
if [ $? -ne 0 ]; then exit 1; fi
10-
11-
# zip the package if tagged build, otherwise finish here
123
if [ ! -z "$TRAVIS_TAG" ]; then
4+
# zip the package if tagged build
135
tools/build-release.sh -a$ESP32_GITHUB_TOKEN
6+
else
7+
# run cmake and sketch tests
8+
tools/check_cmakelists.sh && tools/build-tests.sh
149
fi

0 commit comments

Comments
 (0)