diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 61f9fca844d6b5f35f56073395519b460570035a..2242e1096bbb5222688f98801982c03cc383143d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,10 +1,10 @@ include: - local: 'TP2/.gitlab-ci.yml' - -build: - - build_tp_2 - +stages: + - build + - test + - coverage .build_tp: variables: @@ -15,12 +15,15 @@ build: - build ${SOFTWARE_ROOT} build_tp_2: + stage: + build extends: .build_tp variables: SOFTWARE_ROOT: "TP2/" - -.test: +.test_tp: + stage: + test variables: SOFTWARE_ROOT: "" script: @@ -28,12 +31,14 @@ build_tp_2: - test ${SOFTWARE_ROOT} test_tp_2: + stage: + test extends: .test variables: SOFTWARE_ROOT: "TP2/" -.coverage: +.coverage_tp: variables: SOFTWARE_ROOT: "" script: @@ -42,5 +47,7 @@ test_tp_2: coverage_tp_2: extends: .coverage + stage: + coverage variables: SOFTWARE_ROOT: "TP2/" \ No newline at end of file