From ec167e92b79b98eb0f5acec714a365f104a6961b Mon Sep 17 00:00:00 2001 From: Abel Hoogeveen Date: Mon, 16 Apr 2018 20:20:08 +0200 Subject: [PATCH] Updated gitlab-ci to be compatible with latest version of Gitlab. --- .gitlab-ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e3a0ba0..f90e9f6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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/ \ No newline at end of file