Add .gitlab-ci.yml para compilar el proyecto con ant
This commit is contained in:
22
.gitlab-ci.yml
Normal file
22
.gitlab-ci.yml
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user