forked from sirixdb/sirix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
32 lines (32 loc) · 865 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
services:
- docker
language: java
jdk:
- openjdk11
branches:
only:
- master
cache:
directories:
- "$HOME/apache-maven-3.6.0"
before_install:
- export M2_HOME=$HOME/apache-maven-3.6.0
- if [ ! -d $M2_HOME/bin ]; then curl https://archive.apache.org/dist/maven/maven-3/3.6.0/binaries/apache-maven-3.6.0-bin.tar.gz | tar zxf - -C $HOME; fi
- export PATH=$M2_HOME/bin:$PATH
jobs:
include:
- stage: test
name: "OpenJDK 11"
jdk: openjdk11
script: mvn -q clean verify -B -U
- stage: deploy
name: "Deploy to Sonatype's snapshots repository"
if: type != pull_request AND env(SONATYPE_NEXUS_USERNAME) IS present
script: bash .travis.deploy.artifacts.sh
notifications:
email:
on_failure: always
recipients:
- lichtenberger.johannes@gmail.com
after-success:
mvn jacoco:report coveralls:jacoco