This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
khosb/.gitlab-ci.yml

44 lines
1.1 KiB
YAML
Raw Permalink Normal View History

2016-05-27 12:32:42 +00:00
services:
- centos/mariadb:latest
variables:
MYSQL_ROOT_PASSWORD: root
MYSQL_USER: user
MYSQL_PASSWORD: password
MYSQL_DATABASE: homestead
before_script:
# Install dependencies
2016-05-29 11:48:48 +00:00
- git submodule update --init --recursive
2016-05-27 12:32:42 +00:00
- echo "Load sample DB"
# We test PHP5.6
test:5.5:
2016-06-02 01:15:38 +00:00
image: leenooks/php:5.5
2016-05-27 12:32:42 +00:00
script:
2016-06-02 02:07:28 +00:00
- phpunit --bootstrap=includes/kohana/modules/unittest/bootstrap.php --exclude-group kohana --colors --verbose $@ includes/kohana/modules/unittest/tests.php
2016-05-27 12:32:42 +00:00
only:
- test
tags:
- php
2016-06-02 01:15:38 +00:00
# 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
2016-05-27 12:32:42 +00:00
# We test PHP7.0 (good luck with that)
2016-06-02 01:15:38 +00:00
#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