one last try for now

This commit is contained in:
Mario Vavti 2018-10-10 15:45:54 +02:00
parent ae5158b676
commit f0cd084738

View File

@ -1,5 +1,5 @@
# Select image from https://hub.docker.com/_/php/
image: php:7
image: php:7.1
# Select what we should cache
cache:
@ -11,13 +11,14 @@ before_script:
- apt-get update -yqq
- apt-get install git -yqq
# Install mysql driver
- docker-php-ext-install pdo_mysql
# Install php-gd
- apt-get -yqq libfreetype6-dev libjpeg62-turbo-dev libpng-dev
- docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/
- docker-php-ext-install -j$(nproc) gd
# Install mysql driver
- docker-php-ext-install pdo_mysql
# Install composer
- curl -sS https://getcomposer.org/installer | php
@ -32,7 +33,7 @@ variables:
MYSQL_DATABASE: hello_world_test
MYSQL_ROOT_PASSWORD: mysql
# We test PHP5.6 (the default) with MySQL
# We test PHP7 (the default) with MySQL
test:mysql:
script:
- vendor/bin/phpunit --configuration phpunit_mysql.xml --coverage-text