forked from RoaringBitmap/RoaringBitmap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (27 loc) · 1.27 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
language: java
sudo: false
jdk:
- oraclejdk9
- oraclejdk8
# we removed oraclejdk7 as per https://github.com/RoaringBitmap/RoaringBitmap/pull/176#issuecomment-322257170
# Install silently to ensure all pom are installed and compilation is OK: actual checks will be processed by script:
install: "mvn -P ci clean install --quiet -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dgpg.skip=true"
branches:
only:
- master
################
## Note the "&&". We want the script to fail fast if there is a technical error (javadoc, style)
## which saves time both for travis but also for developers looking at the error logs.
## Moreover, if the script makes it to mvn -f ./jmh/pom.xm, then **all** previous
## tests must be green.
#################
script: >
mvn javadoc:test-javadoc &&
mvn animal-sniffer:check &&
mvn checkstyle:check &&
mvn -f ./roaringbitmap/pom.xml test jacoco:report -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dgpg.skip=true &&
mvn -f ./real-roaring-dataset/pom.xml test -Dcheckstyle.skip=true &&
mvn -f ./jmh/pom.xml test -Dcheckstyle.skip=true -DBITMAP_TYPES=ROARING_ONLY &&
mvn -f ./memory/pom.xml test -Dcheckstyle.skip=true
after_success:
- mvn coveralls:report