Updated gitlab-ci to be compatible with latest version of Gitlab.
This commit is contained in:
parent
66c9bb45c5
commit
ec167e92b7
@ -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/
|
Loading…
Reference in New Issue
Block a user