Create .gitlab-ci.yml

This commit is contained in:
Shansen 2016-02-23 11:15:00 +01:00
parent 622f9340c4
commit 1c0f29242e
1 changed files with 15 additions and 0 deletions

15
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,15 @@
before_script:
- apt-get update -qq
- apt-get install -y software-properties-common
- add-apt-repository -y ppa:webupd8team/java
- apt-get update -qq
- echo debconf shared/accepted-oracle-license-v1-1 select true | sudo debconf-set-selections
- echo debconf shared/accepted-oracle-license-v1-1 seen true | sudo debconf-set-selections
- apt-get install -y oracle-java8-installer
- apt-get install -y maven
build:
script:
- mvn install
artifacts:
paths:
- target/EggCatcher-1.0-SNAPSHOT.jar