Skip to content
Snippets Groups Projects
Commit 0ef15897 authored by Krzysztof Dyszczyk's avatar Krzysztof Dyszczyk
Browse files

Apigen in docker

parent ebd06756
Branches
No related tags found
No related merge requests found
...@@ -126,21 +126,17 @@ integration test 4-3: ...@@ -126,21 +126,17 @@ integration test 4-3:
- phpunit --configuration phpunit-integration.xml - phpunit --configuration phpunit-integration.xml
apigen docs: apigen docs:
image: wpdesknet/phpunit-woocommerce:1-0 image: docker:dind
stage: pre-deploy service: vfac/apigen
dependencies: stage: build
- build php
artifacts: artifacts:
expire_in: 1 day expire_in: 1 day
name: "docs" name: "docs"
paths: paths:
- docs/ - docs/
script: script:
- ls -l - docker run --rm vfac/apigen generate ${CI_PROJECT_DIR} --destination ${CI_PROJECT_DIR}/docs
- php --version when: manual
- php composer.phar docs
only:
manual
build to deploy: build to deploy:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment