From df3f62a70e635b49b8a3fe6eb950ef287b4d33c1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Erik=20Hedenstro=CC=88m?= <erik@hedenstroem.com>
Date: Fri, 6 Nov 2015 11:43:42 +0100
Subject: [PATCH] Trying to fix build script

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 676b295..8ac68de 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -9,6 +9,8 @@ before_script:
   - if [ "$HTTP_PROXY" != "" ]; then printf "{http_proxy,\"$HTTP_PROXY\"}.\n" >> ~/.config/rebar3/rebar.config; fi
   - if [ "$HTTPS_PROXY" != "" ]; then printf "{https_proxy,\"$HTTPS_PROXY\"}.\n" >> ~/.config/rebar3/rebar.config; fi
   - curl -jksSL -o rebar3 https://s3.amazonaws.com/rebar3/rebar3 && chmod +x rebar3
+  - ls -l
+  - pwd
 
 stages:
   - compile
@@ -18,17 +20,17 @@ stages:
 compile:
   stage: compile
   script:
-    - rebar3 as production do compile
+    - ./rebar3 as production do compile
 
 test:
   stage: test
   script:
-    - rebar3 do eunit --cover --dir=test, cover --verbose
+    - ./rebar3 do eunit --cover --dir=test, cover --verbose
 
 publish:
   stage: publish
   only:
     - /^\d+[.]\d+[.]\d+$/ # Only publish HEAD tagged with semantic version
   script:
-    - rebar3 update
-    - echo Y | rebar3 hex publish
+    - ./rebar3 update
+    - echo Y | ./rebar3 hex publish
-- 
GitLab