diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..04ef197a19949d7c34fbb1a3e58353bc94ab0364 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,31 @@ +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/ + +pages: + stage: deploy + script: + - mv ./build/report public + + artifacts: + paths: + - public \ No newline at end of file