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
|
- 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/
|
Loading…
Reference in New Issue
Block a user