From 963e52455af6127ee4d8c04aa6201d4581b3d853 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20Garcia=20Nu=C3=B1ez?= Date: Tue, 26 Nov 2019 00:57:28 +0100 Subject: [PATCH] Add .gitlab-ci.yml para compilar el proyecto con ant --- .gitlab-ci.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..6af6db4 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,22 @@ +image: openjdk:8 + +before_script: + - apt-get update + - apt-get -y install ant + +stages: + - build + - test + +ci_build: + stage: build + script: + - cd 1.sources/MyHealth + - ant clean + - ant all + +ci_test: + stage: test + script: + - cd 1.sources/MyHealth + - ant clean all TestUnitarios \ No newline at end of file