From de743e35d0aaf76c7987264d299eb159e16c23e5 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Wed, 10 Oct 2018 15:01:42 +0200 Subject: add php-gd and use php7 image --- .gitlab-ci.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ed0ace991..a46ee4775 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,5 @@ # Select image from https://hub.docker.com/_/php/ -image: php:5.6 +image: php:7 # Select what we should cache cache: @@ -10,6 +10,7 @@ before_script: # Install git, the php image doesn't have installed - apt-get update -yqq - apt-get install git -yqq +- apt-get install php-gd -yqq # Install mysql driver - docker-php-ext-install pdo_mysql @@ -33,10 +34,4 @@ test:mysql: script: - vendor/bin/phpunit --configuration phpunit_mysql.xml --coverage-text -# We test PHP7 with MySQL, but we allow it to fail -test:php7:mysql: - image: php:7 - script: - - vendor/bin/phpunit --configuration phpunit_mysql.xml --coverage-text - allow_failure: true -- cgit v1.2.3