Skip to content
Snippets Groups Projects
Commit b05a072f 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:
- phpunit --configuration phpunit-integration.xml
apigen docs:
image: wpdesknet/phpunit-woocommerce:1-0
stage: pre-deploy
dependencies:
- build php
image:
name: wpdesknet/apigen
entrypoint: ["/bin/sh", "-c"]
stage: build
artifacts:
expire_in: 1 day
name: "docs"
paths:
- docs/
script:
- ls -l
- php --version
- php composer.phar docs
only:
manual
- /app/vendor/bin/apigen generate ./classes --destination ./docs --debug
when: manual
build to deploy:
......
......@@ -15,8 +15,7 @@
"squizlabs/php_codesniffer": "^3.0.2",
"mockery/mockery": "^1.0",
"10up/wp_mock": "^0.3",
"wimg/php-compatibility": "^8",
"apigen/apigen": "^4.1"
"wimg/php-compatibility": "^8"
},
"autoload-dev": {
"psr-4": {
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment