summaryrefslogtreecommitdiff
path: root/.ci/install.sh
diff options
context:
space:
mode:
Diffstat (limited to '.ci/install.sh')
-rwxr-xr-x.ci/install.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/.ci/install.sh b/.ci/install.sh
new file mode 100755
index 0000000..a880ce5
--- /dev/null
+++ b/.ci/install.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+if [ "$RUNFROMSHELL" != "" ];
+then
+ echo "Running from shell. Skipping apt-get install"
+ return
+fi
+
+echo "apt-get update"
+../.ci/retry.sh apt-get update
+echo "apt-get -y -qq install git-core bash"
+../.ci/retry.sh apt-get -y -qq install $*