mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
adding job to build api doc
This commit is contained in:
parent
6855923b37
commit
55192a07eb
@ -12,9 +12,26 @@ before_script:
|
||||
|
||||
test:php-5.6:
|
||||
stage: test
|
||||
environment: testing
|
||||
image: chill/ci-image:php-5.6
|
||||
script: phpunit
|
||||
test:php-7:
|
||||
stage: test
|
||||
environment: testing
|
||||
image: chill/ci-image:php-7
|
||||
script: phpunit
|
||||
|
||||
# deploy documentation
|
||||
api-doc-build:
|
||||
stage: build
|
||||
environment: api-doc
|
||||
image: chill/ci-image:php7
|
||||
script: apigen generate --destination /tmp/api/$CI_PROJECT_NAME/$CI_BUILD_REF_NAME
|
||||
artifacts:
|
||||
paths:
|
||||
- /tmp/api
|
||||
name: api
|
||||
expire_in: '2h'
|
||||
only:
|
||||
- master
|
||||
- tags
|
||||
|
12
apigen.neon
Normal file
12
apigen.neon
Normal file
@ -0,0 +1,12 @@
|
||||
# configuration for apigen
|
||||
|
||||
|
||||
source:
|
||||
- .
|
||||
|
||||
exclude:
|
||||
- vendor/*
|
||||
- Test*
|
||||
|
||||
title: Chill MainBundle
|
||||
|
Loading…
x
Reference in New Issue
Block a user