Added gitlab runner configuration
This commit is contained in:
parent
83aa81f0c3
commit
46f57fe378
@ -9,8 +9,11 @@ variables:
|
||||
|
||||
before_script:
|
||||
# Install dependencies
|
||||
- echo " Port 2022" >> /etc/ssh/ssh_config
|
||||
- bash ci/docker_install.sh > /dev/null
|
||||
- echo "Load sample DB"
|
||||
- git submodule init
|
||||
- git submodule update
|
||||
|
||||
# We test PHP5.6
|
||||
test:5.5:
|
||||
|
@ -10,7 +10,11 @@ apt-get update -yqq
|
||||
apt-get install git -yqq
|
||||
|
||||
# Install phpunit, the tool that we will use for testing
|
||||
curl -o /usr/local/bin/phpunit https://phar.phpunit.de/phpunit.phar
|
||||
if php -r 'if (preg_replace("/([0-9]+)\.([0-9]+).*/","$1.$2",PHP_VERSION) != 5.5) die(1);' ; then
|
||||
curl -Lo /usr/local/bin/phpunit https://phar.phpunit.de/phpunit-4.8.phar #php5.5
|
||||
else
|
||||
curl -Lo /usr/local/bin/phpunit https://phar.phpunit.de/phpunit.phar
|
||||
fi
|
||||
chmod +x /usr/local/bin/phpunit
|
||||
|
||||
# Install mysql driver
|
||||
|
Reference in New Issue
Block a user