From e245172e405265faddd86d156bcdd3ed33cc2b94 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 | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

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