From 3e5109b9ebf96a1541a16c11257ecc666baa05c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Hedenstro=CC=88m?= <erik@erlang.ninja> Date: Fri, 18 Dec 2015 10:28:25 +0100 Subject: [PATCH] Moved rebar3 update to before_script --- .gitlab-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a8b75cd..7b72e6b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,3 +1,6 @@ +before_script: + - rebar3 update + stages: - compile - test @@ -21,7 +24,6 @@ hex_publish: script: - mkdir -p ~/.hex && printf "{key,<<\"$HEX_KEY\">>}.\n{username,<<\"$HEX_USERNAME\">>}.\n" > ~/.hex/hex.config - mkdir -p ~/.config/rebar3 && printf "{plugins, [rebar3_hex]}.\n" > ~/.config/rebar3/rebar.config - - rebar3 update - echo "Y" | rebar3 hex publish aws_publish: -- GitLab