-
Notifications
You must be signed in to change notification settings - Fork 49
/
.travis.yml
42 lines (37 loc) · 1.1 KB
/
.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
33
34
35
36
37
38
39
40
41
42
matrix:
include:
- os: linux
jdk: oraclejdk8
dist: trusty
- os: linux
jdk: oraclejdk9
dist: trusty
- os: linux
jdk: openjdk8
dist: trusty
# - os: linux
# jdk: openjdk10
# dist: trusty
# - os: linux
# jdk: openjdk11
# dist: trusty
- os: osx
language: java
#we don't care about having that much git history when building
git:
depth: 3
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
#include the conformance suite repo
before_install: "git clone --depth 3 https://github.com/loc-rdc/bagit-conformance-suite.git"
install: true #skip having travis-ci trying te run assemble
script: "./gradlew clean check dependencyCheckUpdate dependencyCheckAnalyze"
after_success: "./gradlew coveralls"
env:
global:
- secure: "hxoE+e6yrSkpP9/+04jgaI4o6kJdMk+vz3eVRnxc7xGzWh4D8N9UsEL/iviDdKgaxrKKik1rkD0U8222NbGFNZSfmeL0j5e+LSTm6Wz5FL0n4t75z5kge4dfH33ndoNJsRfc2CknocXflw0R+Vcn6fb3Dk0osMsdZmhgaObf4zI="