image: openjdk:8 stages: - test - package cache: paths: - .cache/ test: stage: test script: - ./mill -D ivy.default.ivy.user.dir=.cache server.test package: stage: package script: - ./mill -D ivy.default.ivy.user.dir=.cache server.assembly artifacts: paths: - out/server/assembly/dest/*.jar only: - master