forked from sirixdb/sirix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
32 lines (32 loc) · 858 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:
- openjdk13
branches:
only:
- master
cache:
directories:
- "$HOME/apache-maven-3.6.2"
install:
- export M2_HOME=$HOME/apache-maven-3.6.2
- if [ ! -d $M2_HOME/bin ]; then curl https://archive.apache.org/dist/maven/maven-3/3.6.2/binaries/apache-maven-3.6.2-bin.tar.gz | tar zxf - -C $HOME; fi
- export PATH=$M2_HOME/bin:$PATH
jobs:
include:
- stage: test
name: "OpenJDK 13"
jdk: openjdk13
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:
after-success:
mvn jacoco:report coveralls:jacoco