diff options
author | Mario Vavti <mario@mariovavti.com> | 2018-10-10 15:45:54 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2018-10-10 15:45:54 +0200 |
commit | f0cd084738be0f70d12a542acc6cbf7631de5d98 (patch) | |
tree | f9de33ac33ba9593bea789b038b700f9d0110447 | |
parent | ae5158b676188082871c66cb70d4cfad75d29d8a (diff) | |
download | volse-hubzilla-f0cd084738be0f70d12a542acc6cbf7631de5d98.tar.gz volse-hubzilla-f0cd084738be0f70d12a542acc6cbf7631de5d98.tar.bz2 volse-hubzilla-f0cd084738be0f70d12a542acc6cbf7631de5d98.zip |
one last try for now
-rw-r--r-- | .gitlab-ci.yml | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2123a43f5..724e825ee 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 +# 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 |