Added gitlab runner configuration

This commit is contained in:
Deon George 2016-06-02 11:15:38 +10:00
parent ede63bea4c
commit e65bf3aa88

View File

@ -10,12 +10,11 @@ variables:
before_script: before_script:
# Install dependencies # Install dependencies
- git submodule update --init --recursive - git submodule update --init --recursive
- bash ci/docker_install.sh > /dev/null
- echo "Load sample DB" - echo "Load sample DB"
# We test PHP5.6 # We test PHP5.6
test:5.5: test:5.5:
image: php:5.5 image: leenooks/php:5.5
script: script:
- phpunit --bootstrap=includes/kohana/modules/unittest/bootstrap.php --exclude-group kohana --colors --verbose $@ includes/kohana/modules/unittest/tests.php --site=test - phpunit --bootstrap=includes/kohana/modules/unittest/bootstrap.php --exclude-group kohana --colors --verbose $@ includes/kohana/modules/unittest/tests.php --site=test
only: only:
@ -23,22 +22,22 @@ test:5.5:
tags: tags:
- php - php
# We test PHP7.0 (good luck with that) # We test PHP5.6 (good luck with that)
test:5.6: #test:5.6:
image: php:5.6 # image: php:5.6
script: # script:
- phpunit --bootstrap=includes/kohana/modules/unittest/bootstrap.php --exclude-group kohana --colors --verbose $@ includes/kohana/modules/unittest/tests.php --site=test # - phpunit --bootstrap=includes/kohana/modules/unittest/bootstrap.php --exclude-group kohana --colors --verbose $@ includes/kohana/modules/unittest/tests.php --site=test
only: # only:
- test # - test
tags: # tags:
- php # - php
# We test PHP7.0 (good luck with that) # We test PHP7.0 (good luck with that)
test:7.0: #test:7.0:
image: php:7.0 # image: php:7.0
script: # script:
- phpunit --bootstrap=includes/kohana/modules/unittest/bootstrap.php --exclude-group kohana --colors --verbose $@ includes/kohana/modules/unittest/tests.php --site=test # - phpunit --bootstrap=includes/kohana/modules/unittest/bootstrap.php --exclude-group kohana --colors --verbose $@ includes/kohana/modules/unittest/tests.php --site=test
only: # only:
- test # - test
tags: # tags:
- php # - php