Updated gitlab-ci to be compatible with latest version of Gitlab.

This commit is contained in:
Abel Hoogeveen 2018-04-16 20:20:08 +02:00
parent 66c9bb45c5
commit ec167e92b7
No known key found for this signature in database
GPG Key ID: 96C2234920BF4292

View File

@ -14,7 +14,7 @@ build:composer:
- curl -sS https://getcomposer.org/installer | php
- php composer.phar install
cache:
key: "$CI_BUILD_REF/$CI_BUILD_REF_NAME"
key: "$CI_BUILD_REF_$CI_BUILD_REF_NAME"
paths:
- vendor/
@ -24,9 +24,9 @@ test:7.0:
script:
- vendor/bin/phpunit -c tests/phpunit.xml --coverage-text
cache:
key: "$CI_BUILD_REF/$CI_BUILD_REF_NAME"
key: "$CI_BUILD_REF_$CI_BUILD_REF_NAME"
paths:
- vendor/
- vendor
test:7.1:
stage: test
@ -34,7 +34,7 @@ test:7.1:
script:
- vendor/bin/phpunit -c tests/phpunit.xml --coverage-text
cache:
key: "$CI_BUILD_REF/$CI_BUILD_REF_NAME"
key: "$CI_BUILD_REF_$CI_BUILD_REF_NAME"
paths:
- vendor/
@ -51,6 +51,6 @@ release:
- build/
expire_in: 3 weeks
cache:
key: "$CI_BUILD_REF/$CI_BUILD_REF_NAME"
key: "$CI_BUILD_REF_$CI_BUILD_REF_NAME"
paths:
- vendor/