diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..a799a138de7b550d52f9e0a6a5f1e35ef795cfc9 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,49 @@ +image: alash325/javaant:latest + +stages: + + - build + - test + - deploy + +build: + + stage: build + + script: + + - ant build + +test: + + stage: test + + script: + + - ant -lib test/lib/junit.jar -Dtest=AllTests testall + + artifacts: + + paths: + + - ./build/report/ + + reports: + junit: + - ./build/report/xml/TEST-*.* + +pages: + + stage: deploy + + dependencies: + - test + + script: + - mv ./build/report/ public/ + + artifacts: + + paths: + - public +