From cf27ee54e7e9d930ea80616f44ee4e5cca5d9644 Mon Sep 17 00:00:00 2001
From: Krzysztof Dyszczyk <krzysiek@inspirelabs.pl>
Date: Sat, 17 Mar 2018 17:51:45 +0100
Subject: [PATCH] Apigen in docker

---
 .gitlab-ci.yml | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index acffa54..8fa78c8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -126,10 +126,8 @@ integration test 4-3:
     - phpunit --configuration phpunit-integration.xml
 
 apigen docs:
-  image: wpdesknet/phpunit-woocommerce:1-0
+  image: vfac/apigen
   stage: pre-deploy
-  dependencies:
-      - build php
   artifacts:
     expire_in: 1 day
     name: "docs"
@@ -137,10 +135,8 @@ apigen docs:
       - docs/
   script:
     - ls -l
-    - php --version
-    - php composer.phar docs
-  only:
-    manual
+    - generate . ./docs
+  when: manual
 
 
 build to deploy:
-- 
GitLab