diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-01-24 22:38:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-01-24 22:38:04 +0300 |
commit | 870a88b843de846818681a2312453b98eee01c1f (patch) | |
tree | 11f05601b6c26c68a6b07438407a8c90802d7a09 /.ci/install.sh | |
parent | c825ec243e728de26029850c2431e4e6559a3756 (diff) | |
download | spm-870a88b843de846818681a2312453b98eee01c1f.tar.gz spm-870a88b843de846818681a2312453b98eee01c1f.tar.bz2 spm-870a88b843de846818681a2312453b98eee01c1f.tar.xz spm-870a88b843de846818681a2312453b98eee01c1f.zip |
In ci scripts install missing packages.
Diffstat (limited to '.ci/install.sh')
-rwxr-xr-x | .ci/install.sh | 12 |
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 $* |