From 379e74f0f182090bd9cfc3d63df5280546ca7798 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Mon, 10 Sep 2018 10:51:56 +0200 Subject: [PATCH] always update packagist and restraint to php 7.2 --- .gitlab-ci.yml | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 055d48b41..1936cb9cc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,26 +13,20 @@ - php Resources/test/Fixtures/App/app/console doctrine:fixtures:load --env=test --no-interaction stages: - - test - deploy + - test - build-doc - deploy-doc - -test:php-7: - stage: test - image: chill/ci-image:php-7 - <<: *test_definition - script: vendor/bin/phpunit -test:php-71: +test:php-7.2: stage: test - image: chill/ci-image:php-7.1 + image: chill/ci-image:php-7.2 <<: *test_definition script: vendor/bin/phpunit deploy-packagist: stage: deploy - image: chill/ci-image:php-7 + image: chill/ci-image:php-7.2 before_script: # test that PACKAGIST USERNAME and PACKAGIST_TOKEN variable are set - if [ -z ${PACKAGIST_USERNAME+x} ]; then echo "Please set PACKAGIST_USERNAME variable"; exit -1; fi @@ -45,7 +39,7 @@ deploy-packagist: api-doc-build: stage: build-doc environment: api-doc - image: chill/ci-image:php-7.1 + image: chill/ci-image:php-7.2 before_script: - mkdir api-doc script: apigen generate --destination api-doc/$CI_BUILD_REF_NAME/$CI_PROJECT_NAME