forked from OryxProject/oryx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
32 lines (32 loc) · 1.06 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
language: java
sudo: false
jdk: oraclejdk8
install: mvn ${CDH} ${SPARK} ${SCALA} -Ptravis -DskipTests=true -Dmaven.javadoc.skip=true -B -V install
script: mvn ${CDH} ${SPARK} ${SCALA} ${JACOCO} -Ptravis -Dmaven.javadoc.skip=true -q -B verify
matrix:
include:
# Covers code coverage, Spark 1.5
- env: JACOCO=-Pjacoco
# Covers Spark 1.6
- env: SPARK=-Pspark-1.6
# Covers CDH 5.5
- env: CDH=-Pcdh55
cache:
directories:
- $HOME/.m2
git:
depth: 10
after_success: if [ -n "$JACOCO" ]; then bash <(curl -s https://codecov.io/bash); fi
env:
global:
# COVERITY_SCAN_TOKEN
- secure: "Mk2nLq4A9+EmweXDp8+VCXVCkjFXdITIWd/Rt3K2kCSNZFtRyxJ43CNvPlgapsDccZ4qNRfOco+/L2cPzZxAzi2I1CZ0JzFeEfTHPFlyXZS2//TqInGqOvngntVaJ+Up8BGCZUvQ8k8Mx2NrHp1AxolbchfMxUJXTf9KUEuK/4A="
addons:
coverity_scan:
project:
name: "OryxProject/oryx"
description: "Build submitted via Travis CI"
notification_email: srowen@gmail.com
build_command_prepend: "mvn clean"
build_command: "mvn -DskipTests=true compile test-compile"
branch_pattern: coverity_scan