Skip to content
Snippets Groups Projects

Ci patto341

Merged Patric Torén requested to merge CI_patto341 into master
1 file
+ 51
0
Compare changes
  • Side-by-side
  • Inline
.gitlab-ci.yml 0 → 100644
+ 51
0
image: alash325/javaant:latest
stages:
- build
- test
- deploy
myBuild:
stage: build
script:
- ant build
artifacts:
when: always
paths:
- ./build
myTest:
stage: test
script:
- ant -lib test/lib/junit.jar -Dtest=AllTests testall
artifacts:
when: always
paths:
- ./build/report
reports:
junit: ./build/report/xml/TEST-net.sf.freecol.AllTests.xml
pages:
only:
- master
stage: deploy
script:
- mkdir public
- cp ./build/report/* public
artifacts:
paths:
- public
Loading