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

Apigen in docker

parent ebd06756
Branches
Tags
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: vfac/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
- 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