/
.travis.yml
66 lines (65 loc) · 3.52 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
dist: precise
language: java
jdk:
- oraclejdk8
env:
matrix:
# The first line of the matrix just builds docs (only on master) and runs unit tests
# The rest skip the unit tests and run ITs only
- NAME='UT and Publish Docs with Latest ASF Versions' MAVEN_PROFILES='""' BUILD_DOCS=true IT_ONLY=false
- NAME='Accumulo Client IT on Latest ASF Versions' MAVEN_PROFILES='accumulo-it-client' BUILD_DOCS=false IT_ONLY=true
- NAME='Accumulo Server IT on Latest ASF Versions' MAVEN_PROFILES='accumulo-it-server' BUILD_DOCS=false IT_ONLY=true
- NAME='HBase Client IT on Latest ASF Versions' MAVEN_PROFILES='hbase-it-client' BUILD_DOCS=false IT_ONLY=true
- NAME='HBase Server IT on Latest ASF Versions' MAVEN_PROFILES='hbase-it-server' BUILD_DOCS=false IT_ONLY=true
- NAME='Cassandra IT on Latest ASF Versions' MAVEN_PROFILES='cassandra-it' BUILD_DOCS=false IT_ONLY=true
- NAME='DynamoDB IT on Latest ASF Versions' MAVEN_PROFILES='dynamodb-it' BUILD_DOCS=false IT_ONLY=true
- NAME='Bigtable IT on Latest ASF Versions' MAVEN_PROFILES='bigtable-it' BUILD_DOCS=false IT_ONLY=true
- NAME='Accumulo Client IT on Older ASF and GeoTools Versions' MAVEN_PROFILES='accumulo-it-client,compatibility' BUILD_DOCS=false IT_ONLY=true
- NAME='HBase Server IT on Older ASF and GeoTools Versions' MAVEN_PROFILES='hbase-it-server,compatibility' BUILD_DOCS=false IT_ONLY=true
- NAME='Accumulo Server IT on Latest CDH Versions' MAVEN_PROFILES='accumulo-it-server,cloudera' BUILD_DOCS=false IT_ONLY=true
- NAME='Accumulo Server IT on Latest HDP Versions' MAVEN_PROFILES='accumulo-it-server,hortonworks' BUILD_DOCS=false IT_ONLY=true
- NAME='HBase Server IT on Latest CDH Versions' MAVEN_PROFILES='hbase-it-server,cloudera' BUILD_DOCS=false IT_ONLY=true
- NAME='HBase Server IT on Latest HDP Versions' MAVEN_PROFILES='hbase-it-server,hortonworks' BUILD_DOCS=false IT_ONLY=true
global:
- secure: C3gdJmFavZxvsRVqCLpRUAaisNV3MhWbSYf4Wjs2SBLC/AIEwN0vDWHOuYiUExuXR1kApBVdNffuCX7bt/5siewHgmiVUGyY1xytxDdv+PAKZihlfYZRGattyg3XUbEFwyjr7c74639Y1w45NPUoBMUT4SKHZkfqD+FDU47OHIM=
cache:
directories:
- $HOME/.m2
- test/landsat8
- test/sentinel2
- test/target/temp/gdal
install:
- .utility/pull-dev-resources.sh
# This will only run on master w/ BUILD_DOCS=true
- travis_wait 30 .utility/build-docs.sh
script:
# This script uses the IT_ONLY flag to determine whether to run unit tests using verify, or ITs only using failsafe
- .utility/run-tests.sh
before_install:
- sudo apt-get install lzop
# This must match the dev-resources version from the parent pom:
- export DEV_RESOURCES_VERSION=1.2
- export MAVEN_OPTS="-XX:CompressedClassSpaceSize=256m -XX:+UseSerialGC -Xmx2g -XX:MaxMetaspaceSize=512m -Dorg.slf4j.simpleLogger.defaultLogLevel=warn"
- chmod +x .utility/pull-dev-resources.sh
- chmod +x .utility/run-tests.sh
- chmod +x .utility/build-docs.sh
- chmod +x .utility/publish-docs.sh
- chmod +x .utility/maven-coveralls-hack.sh
- .utility/maven-coveralls-hack.sh
after_success:
- .utility/publish-docs.sh
- cd test; mvn coveralls:report -P ${MAVEN_PROFILES}
notifications:
urls:
- https://webhooks.gitter.im/e/1dd2fadd07a92dcdc3d8
addons:
apt_packages:
- pandoc
coverity_scan:
project:
name: locationtech/geowave
description: Build submitted via Travis CI
notification_email: GeoWave@nga.mil
build_command_prepend: mvn clean
build_command: mvn clean compile -Dfindbugs.skip -DskipTests=true -Dformatter.skip -P ${MAVEN_PROFILES}
branch_pattern: coverity_scan