use the apigen phar packaged with the current image

This commit is contained in:
Julien Fastré 2017-06-20 21:06:43 +02:00
parent ca4ffb4d53
commit 669d823f72

View File

@ -48,8 +48,7 @@ api-doc-build:
image: chill/ci-image:php-7.1 image: chill/ci-image:php-7.1
before_script: before_script:
- mkdir api-doc - mkdir api-doc
- composer require apigen/apigen script: apigen generate --destination api-doc/$CI_BUILD_REF_NAME/$CI_PROJECT_NAME
script: vendor/bin/apigen generate --destination api-doc/$CI_BUILD_REF_NAME/$CI_PROJECT_NAME
artifacts: artifacts:
paths: paths:
- "api-doc/" - "api-doc/"