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

Apigen in docker

parent ebd06756
No related branches found
No related tags found
No related merge requests found
...@@ -126,21 +126,18 @@ integration test 4-3: ...@@ -126,21 +126,18 @@ 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:
stage: pre-deploy name: wpdesknet/apigen
dependencies: entrypoint: ["/bin/sh", "-c"]
- build php stage: build
artifacts: artifacts:
expire_in: 1 day expire_in: 1 day
name: "docs" name: "docs"
paths: paths:
- docs/ - docs/
script: script:
- ls -l - /app/vendor/bin/apigen generate ./classes --destination ./docs --debug
- 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