forked from RoaringBitmap/RoaringBitmap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (33 loc) · 1.09 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
language: java
sudo: false
jdk:
- openjdk8
- openjdk11
- openjdk14
- oraclejdk11
############
# We still support and test jdk8 for clients, but on travis we no longer build with jkd8, see
# https://github.com/RoaringBitmap/RoaringBitmap/pull/290 for rationale.
##########
# we removed oraclejdk7 as per https://github.com/RoaringBitmap/RoaringBitmap/pull/176#issuecomment-322257170
#########
# from https://docs.travis-ci.com/user/languages/java/#caching
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/
# Install silently to ensure all pom are installed and compilation is OK: actual checks will be processed by script:
# Including testClasses so tests will compile too.
install: "./gradlew assemble testClasses"
branches:
only:
- master
script:
# run checkstyle, etc, without the tests to fail fast
- ./gradlew check -x test
- ./gradlew test jacocoTestReport -DBITMAP_TYPES=ROARING_ONLY
after_success:
- ./gradlew coveralls