mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-14 06:14:23 +00:00
remove php 7.2 from ci
This commit is contained in:
parent
81314fe515
commit
c847be8534
@ -15,21 +15,15 @@ stages:
|
|||||||
- build-doc
|
- build-doc
|
||||||
- deploy-doc
|
- deploy-doc
|
||||||
|
|
||||||
test:php-7:
|
test:php-7.2:
|
||||||
image: chill/ci-image:php-7
|
image: chill/ci-image:php-7.2
|
||||||
stage: test
|
stage: test
|
||||||
<<: *test_definition
|
<<: *test_definition
|
||||||
script: php vendor/bin/phpunit
|
script: APP_ENV=test php vendor/bin/phpunit
|
||||||
|
|
||||||
test:php-7.1:
|
|
||||||
image: chill/ci-image:php-7.1
|
|
||||||
stage: test
|
|
||||||
<<: *test_definition
|
|
||||||
script: php vendor/bin/phpunit
|
|
||||||
|
|
||||||
deploy-packagist:
|
deploy-packagist:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
image: chill/ci-image:php-7
|
image: chill/ci-image:php-7.2
|
||||||
before_script:
|
before_script:
|
||||||
# test that PACKAGIST USERNAME and PACKAGIST_TOKEN variable are set
|
# 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
|
- if [ -z ${PACKAGIST_USERNAME+x} ]; then echo "Please set PACKAGIST_USERNAME variable"; exit -1; fi
|
||||||
@ -42,7 +36,7 @@ deploy-packagist:
|
|||||||
api-doc-build:
|
api-doc-build:
|
||||||
stage: build-doc
|
stage: build-doc
|
||||||
environment: api-doc
|
environment: api-doc
|
||||||
image: chill/ci-image:php-7
|
image: chill/ci-image:php-7.2
|
||||||
before_script:
|
before_script:
|
||||||
- mkdir api-doc
|
- mkdir api-doc
|
||||||
script: apigen generate --destination api-doc/$CI_BUILD_REF_NAME/$CI_PROJECT_NAME
|
script: apigen generate --destination api-doc/$CI_BUILD_REF_NAME/$CI_PROJECT_NAME
|
||||||
|
Loading…
x
Reference in New Issue
Block a user