From 9bd728d713565f5308f08241a01a06b2a1394cda Mon Sep 17 00:00:00 2001 From: Florent Pruvost <florent.pruvost@inria.fr> Date: Wed, 14 Dec 2016 16:12:03 +0100 Subject: [PATCH] update .gitlab-ci.yml tu run real tests: ctest command --- .gitlab-ci.yml | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6266cb6dd..ae3f8d18e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,2 +1,21 @@ -job1: - script: "/home/ci/gitlab/test.sh" \ No newline at end of file +variables: + GIT_STRATEGY: fetch + GIT_DEPTH: "3" + +stages: + - build + - test + +build: + stage: build + script: + - git submodule init + - git submodule update + - mkdir build + - cd build + - cmake .. + - make -j2 + +test: + stage: test + script: ctest \ No newline at end of file -- GitLab