From cbe4038a794d86b058bf9d864b7a759b14293c88 Mon Sep 17 00:00:00 2001 From: Devon Mackay Date: Sun, 1 Jul 2018 19:18:38 -0400 Subject: [PATCH] Script that CI should use to run tests --- script/cibuild | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 script/cibuild diff --git a/script/cibuild b/script/cibuild new file mode 100755 index 00000000..b90c5aae --- /dev/null +++ b/script/cibuild @@ -0,0 +1,12 @@ +#!/bin/bash + +# script/cibuild: Run CI related checks and tests + +# If a command fails, exit the script +set -e + +# Ensure we are in the app root directory (not the /script directory) +cd "$(dirname "${0}")/.." + +# Run lint/style checks and unit tests +script/test