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