arduino-esp32/tools/build.sh
2018-06-27 22:21:13 +02:00

15 lines
306 B
Bash
Executable File

#!/bin/bash
# run cmake tests
tools/check_cmakelists.sh
if [ $? -ne 0 ]; then exit 1; fi
# run sketch tests
tools/build-tests.sh
if [ $? -ne 0 ]; then exit 1; fi
# zip the package if tagged build, otherwise finish here
if [ ! -z "$TRAVIS_TAG" ]; then
tools/build-release.sh -a$ESP32_GITHUB_TOKEN
fi