Files
espurna/travis_script.sh
Max Prokhorov d0a137ce94 Test: move travis boards outside of hardware header (#1943)
* travis: move build flags tests outside of hardware header

* mqtt: fix typo

* travis: use files instead of bundling test cases into script

* fixup! travis: use files instead of bundling test cases into script

* fix variable expansion, remove custom h at the end

* add ade7953 to sensors list

* custom.h path as variable

* shellcheck

* fix printf syntax, silent again

* fix bash 4.3 treating empty array as unset variable
2019-10-16 14:23:19 +03:00

12 lines
156 B
Bash
Executable File

#!/bin/bash
set -e -v
cd code
if [ ${TRAVIS_BUILD_STAGE_NAME} = "Test" ]; then
./test_build.sh $BUILDER_ENV $BUILDER_EXTRA
else
./build.sh -p
fi