From 136c4ca2bfc60f01c68f72b7b9561d247ed910d7 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 | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index acffa54..83f29d4 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"
@@ -138,9 +136,9 @@ apigen docs:
   script:
     - ls -l
     - php --version
-    - php composer.phar docs
+    - php /app/vendor/bin/apigen
   only:
-    manual
+    - manual
 
 
 build to deploy:
-- 
GitLab