Commit b299a9bb authored by Luc Didry's avatar Luc Didry Committed by Luc Didry

Use custom docker images for CI (faster tests)

parent 484f0d2f
Pipeline #26102 failed with stage
in 54 seconds
# This file is a template, and might need editing before it works on your project.
# Select image from https://hub.docker.com/_/php/
test_php7.0:
image: php:7.0
image: hatsoftwares/framasite-php-7.0:latest
script:
- ant prepare-pgsql
- ./vendor/bin/simple-phpunit -v
test_php7.1:
image: php:7.1
image: hatsoftwares/framasite-php-7.1:latest
script:
- ant prepare-pgsql
- ./vendor/bin/simple-phpunit -v
......@@ -26,10 +26,6 @@ cache:
- node_modules
before_script:
- apt-get update -y
- apt-get install -y git zlib1g-dev ant libpq-dev libzip-dev libicu-dev
# Install PHP extensions
- docker-php-ext-install zip pgsql pdo_pgsql intl
- cp app/config/tests/parameters_test.pgsql.yml app/config/parameters_test.yml
- curl -sS https://getcomposer.org/installer | php
- SYMFONY_ENV=test php composer.phar install -o --no-interaction --no-progress --prefer-dist
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment