diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2017-02-10 01:21:49 +0100 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2017-02-10 01:21:49 +0100 |
commit | ba25922f737076fbcdbd81a01ce91240dca749db (patch) | |
tree | 96ecafecd5764ee91141dc99f5c54af218ac0c92 /.travis/build.sh | |
parent | b4b034d43b81e7f7febc337cc4d0abe114e3bfb5 (diff) | |
download | blogc-ba25922f737076fbcdbd81a01ce91240dca749db.tar.gz blogc-ba25922f737076fbcdbd81a01ce91240dca749db.tar.bz2 blogc-ba25922f737076fbcdbd81a01ce91240dca749db.zip |
travis: removed travis dir to .travis
Diffstat (limited to '.travis/build.sh')
-rwxr-xr-x | .travis/build.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/.travis/build.sh b/.travis/build.sh new file mode 100755 index 0000000..9e12ada --- /dev/null +++ b/.travis/build.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +set -ex + +if [[ -n "${TARGET}" ]] && [[ -e "travis/targets/${TARGET}.sh" ]]; then + source "travis/targets/${TARGET}.sh" +else + echo "Target not defined or invalid!" + exit 1 +fi + +rm -rf build +mkdir -p build + +build |