Another attempt at gitlab ci

This commit is contained in:
Timothy Warren 2016-07-18 11:12:03 -04:00
parent bcfb0f2be8
commit 0d13d8e078
2 changed files with 1 additions and 14 deletions

View File

@ -15,16 +15,6 @@ variables:
POSTGRES_USER: test POSTGRES_USER: test
POSTGRES_PASSWORD: test POSTGRES_PASSWORD: test
test:5.4:
image: php:5.4
script:
- phpunit -c build
test:5.5:
image: php:5.5
script:
- phpunit -c build
test:5.6: test:5.6:
image: php:5.6 image: php:5.6
script: script:

View File

@ -6,10 +6,8 @@
set -xe set -xe
# Install git (the php image doesn't have it) which is required by composer # Install git (the php image doesn't have it) which is required by composer
# And for some reason apt-utils is not installed
apt-get update -yqq apt-get update -yqq
apt-get install apt-utils apt-get install git libpq-dev libmysqlclient18 -yqq
apt-get install git sqlite -yqq
# Install phpunit, the tool that we will use for testing # Install phpunit, the tool that we will use for testing
curl -Lo /usr/local/bin/phpunit https://phar.phpunit.de/phpunit.phar curl -Lo /usr/local/bin/phpunit https://phar.phpunit.de/phpunit.phar
@ -18,7 +16,6 @@ chmod +x /usr/local/bin/phpunit
# Install mysql driver # Install mysql driver
# Here you can install any other extension that you need # Here you can install any other extension that you need
docker-php-ext-install pdo_mysql docker-php-ext-install pdo_mysql
docker-php-ext-install pdo_sqlite
docker-php-ext-install pdo_postgre docker-php-ext-install pdo_postgre
#docker-php-ext-install pdo_oci #docker-php-ext-install pdo_oci
docker-php-ext-install interbase docker-php-ext-install interbase