You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
device-mgt-core-forked/.gitlab-ci.yml

27 lines
485 B

image: shinyay/docker-mvn-jdk8:3.5.0
6 years ago
variables:
MAVEN_CLI_OPTS: "-s .m2/settings.xml --batch-mode --errors --show-version"
6 years ago
MAVEN_OPTS: "-Dmaven.repo.local=.m2/repository"
cache:
paths:
- .m2/repository/
build:
stage: build
script:
- mvn $MAVEN_CLI_OPTS clean install -Dmaven.test.skip=true
6 years ago
test:
stage: test
script:
- mvn $MAVEN_CLI_OPTS test
deploy:
stage: deploy
script:
- mvn $MAVEN_CLI_OPTS deploy -Dmaven.test.skip=true
only:
- master