mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 05:44:24 +00:00
use test base image
This commit is contained in:
parent
23892043a5
commit
7719447044
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
image: php:7.4
|
image: registry.gitlab.com/chill-projet/chill-app/php-base-image:7.4
|
||||||
|
|
||||||
# Select what we should cache between builds
|
# Select what we should cache between builds
|
||||||
cache:
|
cache:
|
||||||
@ -7,20 +7,6 @@ cache:
|
|||||||
- tests/app/vendor/
|
- tests/app/vendor/
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- apt-get update -yqq
|
|
||||||
- apt-get install -yqq git libicu-dev g++ postgresql-server-dev-10 libzip-dev libzip4 unzip libfreetype6-dev libonig-dev `# install oniguruma, required for mbstring` libpng-dev libjpeg62-turbo-dev
|
|
||||||
# Install PHP extensions
|
|
||||||
- docker-php-ext-configure gd --with-freetype --with-jpeg
|
|
||||||
- docker-php-ext-install intl pdo_pgsql mbstring zip bcmath sockets exif
|
|
||||||
- >
|
|
||||||
mkdir /tmp/redis \
|
|
||||||
&& curl -L -o /tmp/redis/redis.tar.gz https://github.com/phpredis/phpredis/archive/$PHPREDIS_VERSION.tar.gz \
|
|
||||||
&& cd /tmp/redis \
|
|
||||||
&& tar xfz /tmp/redis/redis.tar.gz \
|
|
||||||
&& rm -r /tmp/redis/redis.tar.gz \
|
|
||||||
&& mkdir -p /usr/src/php/ext/redis \
|
|
||||||
&& mv /tmp/redis/phpredis-$PHPREDIS_VERSION/* /usr/src/php/ext/redis/. \
|
|
||||||
&& docker-php-ext-install redis
|
|
||||||
# Install & enable Xdebug for code coverage reports
|
# Install & enable Xdebug for code coverage reports
|
||||||
# - pecl install xdebug
|
# - pecl install xdebug
|
||||||
# - docker-php-ext-enable xdebug
|
# - docker-php-ext-enable xdebug
|
||||||
@ -36,6 +22,8 @@ before_script:
|
|||||||
services:
|
services:
|
||||||
- name: postgres:12
|
- name: postgres:12
|
||||||
alias: db
|
alias: db
|
||||||
|
- name: redis
|
||||||
|
alias: redis
|
||||||
|
|
||||||
# Set any variables we need
|
# Set any variables we need
|
||||||
variables:
|
variables:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user