diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 96efd73156cfb6dc8e646be3414655bf5d9fe3aa..2b755a3bbb702035b1f080fbf90c0fca675ce50d 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