From b57c836eecb62ce906909569c9ea56bd03698f72 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Erik=20Hedenstro=CC=88m?= <erik@hedenstroem.com>
Date: Fri, 6 Nov 2015 11:34:51 +0100
Subject: [PATCH] Removed job paramter

---
 .gitlab-ci.yml | 40 +++++++++++++++++++---------------------
 1 file changed, 19 insertions(+), 21 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d14adc3..676b295 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -10,27 +10,25 @@ before_script:
   - 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
 
-job:
+stages:
+  - compile
+  - test
+  - publish
 
-  stages:
-    - compile
-    - test
-    - publish
+compile:
+  stage: compile
+  script:
+    - rebar3 as production do compile
 
-  compile:
-    stage: compile
-    script:
-      - rebar3 as production do compile
+test:
+  stage: test
+  script:
+    - rebar3 do eunit --cover --dir=test, cover --verbose
 
-  test:
-    stage: test
-    script:
-      - 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
+publish:
+  stage: publish
+  only:
+    - /^\d+[.]\d+[.]\d+$/ # Only publish HEAD tagged with semantic version
+  script:
+    - rebar3 update
+    - echo Y | rebar3 hex publish
-- 
GitLab