aboutsummaryrefslogtreecommitdiffstats
path: root/travis_build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'travis_build.sh')
-rwxr-xr-xtravis_build.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/travis_build.sh b/travis_build.sh
new file mode 100755
index 00000000..f86cb89e
--- /dev/null
+++ b/travis_build.sh
@@ -0,0 +1,21 @@
+#!/bin/bash
+
+set -xe
+
+warn() {
+ tput setaf 1
+ echo "[ERROR] Received $1"
+ tput sgr0
+ exit 1
+}
+
+trap "warn SIGINT" SIGINT
+trap "warn SIGTERM" SIGTERM
+trap "warn SIGHUP" SIGHUP
+
+export SAUCE_ACCESS_KEY=`echo $SAUCE_ACCESS_KEY | rev`
+./lib/sauce/sauce_connect_setup.sh
+npm install -g grunt-cli
+grunt ci-checks package
+./lib/sauce/sauce_connect_block.sh
+grunt parallel:travis --reporters dots --browsers SL_Chrome \ No newline at end of file