Fixed CI scripts for PetitParser.
authorJan Vrany <jan.vrany@fit.cvut.cz>
Mon, 09 Nov 2015 00:38:23 +0000
changeset 550 777f3813febc
parent 549 8ad6734770cd
child 551 00ebb1b85f53
Fixed CI scripts for PetitParser.
ci/ci-pharo-benchmark.sh
ci/ci-pharo-common.sh
ci/ci-pharo-test.sh
--- a/ci/ci-pharo-benchmark.sh	Mon Nov 09 00:38:23 2015 +0000
+++ b/ci/ci-pharo-benchmark.sh	Mon Nov 09 00:38:23 2015 +0000
@@ -4,7 +4,7 @@
 #
 set -e
 
-if test -x "ci-pharo-common.sh"; then
+if [ ! -x "ci-pharo-common.sh" ]; then
     wget -O "ci-pharo-common.sh" https://bitbucket.org/janvrany/stx-goodies-petitparser/raw/tip/ci/ci-pharo-common.sh
 fi
 . ci-pharo-common.sh
--- a/ci/ci-pharo-common.sh	Mon Nov 09 00:38:23 2015 +0000
+++ b/ci/ci-pharo-common.sh	Mon Nov 09 00:38:23 2015 +0000
@@ -2,8 +2,8 @@
 # A set of functions to be used in PetitParser's Pharo CI jobs
 #
 
-if test -x "ci-common.sh"; then
-    echo wget -O "ci-common.sh" https://bitbucket.org/janvrany/stx-goodies-petitparser/raw/tip/ci/ci-common.sh
+if [ ! -x "ci-common.sh" ]; then
+    wget -O "ci-common.sh" https://bitbucket.org/janvrany/stx-goodies-petitparser/raw/tip/ci/ci-common.sh
 fi
 . ci-common.sh
 
--- a/ci/ci-pharo-test.sh	Mon Nov 09 00:38:23 2015 +0000
+++ b/ci/ci-pharo-test.sh	Mon Nov 09 00:38:23 2015 +0000
@@ -4,8 +4,8 @@
 #
 set -e
 
-if test -x "ci-pharo-common.sh"; then
-    echo wget -O "ci-pharo-common.sh" fail-here
+if [ ! -x "ci-pharo-common.sh" ]; then
+    wget -O "ci-pharo-common.sh" https://bitbucket.org/janvrany/stx-goodies-petitparser/raw/tip/ci/ci-pharo-common.sh
 fi
 . ci-pharo-common.sh