From 460d0049a77a058f459a61911cc692b182949094 Mon Sep 17 00:00:00 2001 From: Yeongdo Park Date: Sun, 14 Jan 2018 20:13:25 +0900 Subject: [PATCH] gitlab ci yml update for ThirdParty existence test --- .gitlab-ci.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2702133f4..a99429edd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,7 +1,5 @@ before_script: - - git clone https://github.com/OpenFOAM/ThirdParty-4.x.git ../ThirdParty-4.x - - env - - source $HOME/.bashrc + - [[ -d ../ThirdParty-4.x ]] || git clone https://github.com/OpenFOAM/ThirdParty-4.x.git ../ThirdParty-4.x - source etc/bashrc - rm -rf platforms - wclean all @@ -9,4 +7,3 @@ before_script: allmake: script: - ./Allwmake -j -