From f1ead300a173fe5226b5df5d794d97eb8cc62396 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Erik=20Hedenstro=CC=88m?= <erik@hedenstroem.com>
Date: Mon, 9 Nov 2015 21:50:00 +0100
Subject: [PATCH] Added banners, removed curl tog et rebar3

---
 .gitlab-ci.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 96efd73..2b755a3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -8,7 +8,6 @@ before_script:
   - printf "{plugins, [rebar3_hex]}.\n" > ~/.config/rebar3/rebar.config
   - 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
   - rebar3 update
 
 stages:
@@ -19,11 +18,13 @@ stages:
 compile:
   stage: compile
   script:
+    - banner "compile"
     - rebar3 as production do compile
 
 test:
   stage: test
   script:
+    - banner "test"
     - rebar3 as test do eunit --cover --dir=test, cover --verbose
     - coverage.escript _build/test/cover/eunit.coverdata
 
@@ -32,5 +33,6 @@ publish:
   only:
     - /^\d+[.]\d+[.]\d+$/ # Only publish HEAD tagged with semantic version
   script:
+    - banner "publish"
     - rebar3 update
     - echo Y | rebar3 hex publish
-- 
GitLab