From e65bf3aa886bcd1007f80d407f3017c66dffe04a Mon Sep 17 00:00:00 2001 From: Deon George Date: Thu, 2 Jun 2016 11:15:38 +1000 Subject: [PATCH] Added gitlab runner configuration --- .gitlab-ci.yml | 37 ++++++++++++++++++------------------- 1 file changed, 18 insertions(+), 19 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f5e2cb70..538abc64 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,12 +10,11 @@ variables: before_script: # Install dependencies - git submodule update --init --recursive - - bash ci/docker_install.sh > /dev/null - echo "Load sample DB" # We test PHP5.6 test:5.5: - image: php:5.5 + image: leenooks/php:5.5 script: - phpunit --bootstrap=includes/kohana/modules/unittest/bootstrap.php --exclude-group kohana --colors --verbose $@ includes/kohana/modules/unittest/tests.php --site=test only: @@ -23,22 +22,22 @@ test:5.5: tags: - php -# We test PHP7.0 (good luck with that) -test:5.6: - image: php:5.6 - script: - - phpunit --bootstrap=includes/kohana/modules/unittest/bootstrap.php --exclude-group kohana --colors --verbose $@ includes/kohana/modules/unittest/tests.php --site=test - only: - - test - tags: - - php +# We test PHP5.6 (good luck with that) +#test:5.6: +# image: php:5.6 +# script: +# - phpunit --bootstrap=includes/kohana/modules/unittest/bootstrap.php --exclude-group kohana --colors --verbose $@ includes/kohana/modules/unittest/tests.php --site=test +# only: +# - test +# tags: +# - php # We test PHP7.0 (good luck with that) -test:7.0: - image: php:7.0 - script: - - phpunit --bootstrap=includes/kohana/modules/unittest/bootstrap.php --exclude-group kohana --colors --verbose $@ includes/kohana/modules/unittest/tests.php --site=test - only: - - test - tags: - - php +#test:7.0: +# image: php:7.0 +# script: +# - phpunit --bootstrap=includes/kohana/modules/unittest/bootstrap.php --exclude-group kohana --colors --verbose $@ includes/kohana/modules/unittest/tests.php --site=test +# only: +# - test +# tags: +# - php