build: gitlab ci update for new dockerhub account

* caching ccache and maven folder on ci
* new docker images st4ll1 -> coatisoftware
* in build script run setup script if no build/Release folder does not
exist
This commit is contained in:
Andreas Stallinger
2017-08-21 18:55:25 +02:00
parent e496515a14
commit af4fb739e7
2 changed files with 116 additions and 53 deletions
+12
View File
@@ -6,6 +6,18 @@ MY_PATH=`dirname "$0"`
cd $MY_PATH/..
# run setup script if needed
if [ ! -d "build/Release" ]
then
$MY_PATH/setup.sh
if [ $? -ne 0 ]
then
exit 1;
fi
else
echo "build exists"
fi
# Build target
if [ "$1" = "release" ] || [ "$1" = "r" ] || [ "$1" = "" ]