From a20314c373f62d789cd3c7a5ae95ab30f9885b3e Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Thu, 3 Mar 2016 17:21:24 +0100 Subject: [PATCH] setup codeship scripts --- _ci/build.sh | 7 +++++++ _ci/deploy.sh | 9 +++++++++ _ci/setup.sh | 9 +++++++++ 3 files changed, 25 insertions(+) create mode 100644 _ci/build.sh create mode 100644 _ci/deploy.sh create mode 100644 _ci/setup.sh diff --git a/_ci/build.sh b/_ci/build.sh new file mode 100644 index 0000000..578d49d --- /dev/null +++ b/_ci/build.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +set -e; + +gulp build --production + +exit; diff --git a/_ci/deploy.sh b/_ci/deploy.sh new file mode 100644 index 0000000..3b87e36 --- /dev/null +++ b/_ci/deploy.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +set -e; + +if [ $CI_BRANCH == "master" ]; then + gulp deploy:beta +fi; + +exit; diff --git a/_ci/setup.sh b/_ci/setup.sh new file mode 100644 index 0000000..0cf9922 --- /dev/null +++ b/_ci/setup.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +set -e; + +npm install gulp -g +npm install +bundle install + +exit;