Si vous constatez la perte de tickets, de commentaires ou de projets, veuillez consulter la page https://status.framasoft.org/incident/626.

Commit 2fe2d130 authored by Julien Fastré's avatar Julien Fastré

deploy on every change to packagist

parent 6e8f72f5
Pipeline #73485 failed with stages
in 1 minute and 4 seconds
......@@ -10,27 +10,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:
test:php-7.2:
stage: test
image: chill/ci-image:php-7
image: chill/ci-image:php-7.2
<<: *test_definition
script: php vendor/bin/phpunit
test:php-7.1:
stage: test
image: chill/ci-image:php-7.1
<<: *test_definition
script: php 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
......@@ -43,7 +36,7 @@ deploy-packagist:
api-doc-build:
stage: build-doc
environment: api-doc
image: chill/ci-image:php-7
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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment