arduino-esp32/tools/build.sh
2018-06-28 23:45:52 +02:00

10 lines
227 B
Bash
Executable File

#!/bin/bash
if [ ! -z "$TRAVIS_TAG" ]; then
# zip the package if tagged build
tools/build-release.sh -a$ESP32_GITHUB_TOKEN
else
# run cmake and sketch tests
tools/check_cmakelists.sh && tools/build-tests.sh
fi