.gitlab-ci.yml 338 Bytes
Newer Older
alexander.weigl's avatar
alexander.weigl committed
1
image: maven:3.5.0-jdk-8
alexander.weigl's avatar
alexander.weigl committed
2

alexander.weigl's avatar
alexander.weigl committed
3 4


alexander.weigl's avatar
alexander.weigl committed
5 6 7 8 9 10 11 12 13
cache:
  paths:
    - .m2/

variables:
  MAVEN_OPTS: -Dmaven.repo.local=${CI_PROJECT_DIR}/.m2
  
  

alexander.weigl's avatar
alexander.weigl committed
14
build:
alexander.weigl's avatar
alexander.weigl committed
15 16 17 18 19 20
  script: "mvn compile -B -T 2"


test: 
  script: "mvn test -B"

alexander.weigl's avatar
alexander.weigl committed
21 22 23 24 25 26 27
deploy:
  script: 
    - "mvn package site:site -DskiptTests=true -B"
  artifacts: 
    paths:
      - target/*jar
      - target/site/*