Skip to content
Snippets Groups Projects
Commit c2bb54cb 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,10 +126,9 @@ 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
stage: build
artifacts:
expire_in: 1 day
name: "docs"
......@@ -137,11 +136,8 @@ apigen docs:
- docs/
script:
- ls -l
- php --version
- php composer.phar docs
only:
manual
- /app/vendor/bin/apigen generate
when: manual
build to deploy:
image: wpdesknet/phpunit-woocommerce:0-0
......
......@@ -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