Commit d797d9c6 authored by Thomas Löffler's avatar Thomas Löffler

Use php7.0 docker image and install composer manually

parent 774a23f9
Pipeline #2993 passed with stages
in 4 minutes and 2 seconds
...@@ -18,15 +18,19 @@ stages: ...@@ -18,15 +18,19 @@ stages:
build: build:
stage: build stage: build
image: composer image: php:7.0-alpine
variables: variables:
- apk add bash --no-cache
- apk add git --update
- curl -o composer.phar --silent
- chmod +x composer.phar
script: script:
- composer config store-auths false - ./composer.phar config store-auths false
- composer config platform.php 7.0 - ./composer.phar config gitlab-ci-token ${CI_BUILD_TOKEN}
- composer config gitlab-ci-token ${CI_BUILD_TOKEN} - ./composer.phar install
- composer install
artifacts: artifacts:
paths: paths:
- ./ - ./
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