diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 676b2959d6f2ed9cc66eedc6eacb881f219ee807..8ac68dea0216f36f08facb3db14e59fd30faf973 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