fixing error in .gitlab-ci, setting stages

This commit is contained in:
Julien Fastré 2016-09-04 21:22:35 +02:00
parent 55192a07eb
commit 1e3d7bc43c

View File

@ -1,6 +1,11 @@
services:
- chill/database:latest
stages:
- build-doc
- deploy-doc
- test
before_script:
- composer config github-oauth.github.com $GITHUB_TOKEN
@ -23,9 +28,9 @@ test:php-7:
# deploy documentation
api-doc-build:
stage: build
stage: build-doc
environment: api-doc
image: chill/ci-image:php7
image: chill/ci-image:php-7
script: apigen generate --destination /tmp/api/$CI_PROJECT_NAME/$CI_BUILD_REF_NAME
artifacts:
paths: