Commit 82547cfb authored by Tino Goratsch's avatar Tino Goratsch

reworked and splitted the before script

parent f5f22c12
Pipeline #15446767 failed with stages
in 48 seconds
......@@ -21,6 +21,7 @@ test:php:
stage: test
before_script:
- bash ./build/gitlab/before_script.sh > /dev/null
- bash ./build/gitlab/before_script_php.sh > /dev/null
- curl --silent --show-error https://getcomposer.org/installer | php
- php composer.phar global require hirak/prestissimo
script:
......
......@@ -3,10 +3,6 @@
# We need to install dependencies only for Docker
[[ ! -e /.dockerenv ]] && [[ ! -e /.dockerinit ]] && exit 0
# Install apt-utils, git and unzip, the php image doesn't have installed
apt-get update -yqq
apt-get install git zlib1g-dev unzip libicu-dev -yqq
which ssh-agent || (apt-get install openssh-client -y )
eval $(ssh-agent -s)
......@@ -16,6 +12,3 @@ mkdir -p ~/.ssh
ssh-add <(echo "$SSH_PRIVATE_KEY")
ssh-add -l
# Install required PHP extensions for the tests etc.
docker-php-ext-install zip
#!/bin/bash
# We need to install dependencies only for Docker
[[ ! -e /.dockerenv ]] && [[ ! -e /.dockerinit ]] && exit 0
# Install apt-utils, git and unzip, the php image doesn't have installed
apt-get update -yqq
apt-get install git zlib1g-dev unzip libicu-dev -yqq
# Install required PHP extensions for the tests etc.
docker-php-ext-install zip
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