forked from databricks/spark-avro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (40 loc) · 1.42 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
language: scala
sudo: false
cache:
directories:
- $HOME/.ivy2
matrix:
include:
# We only test Spark 1.4.1 with Hadooop 2.2.0 because
# https://github.com/apache/spark/pull/6599 is not present in 1.4.1,
# so the published Spark Maven artifacts will not work with Hadoop 1.x.
# Spark 1.4.1 and Scala 2.10
- jdk: openjdk6
scala: 2.10.4
env: TEST_HADOOP_VERSION="2.2.0" TEST_SPARK_VERSION="1.4.1"
- jdk: openjdk7
scala: 2.10.4
env: TEST_HADOOP_VERSION="2.2.0" TEST_SPARK_VERSION="1.4.1"
# Spark 1.5.0 and Scala 2.10
# These two cases will fail in Travis until SPARK-10330 is fixed.
# - jdk: openjdk7
# scala: 2.10.4
# env: TEST_HADOOP_VERSION="1.0.4" TEST_SPARK_VERSION="1.5.0"
# - jdk: openjdk7
# scala: 2.10.4
# env: TEST_HADOOP_VERSION="1.2.1" TEST_SPARK_VERSION="1.5.0"
- jdk: openjdk7
scala: 2.10.4
env: TEST_HADOOP_VERSION="2.2.0" TEST_SPARK_VERSION="1.5.0"
- jdk: openjdk7
scala: 2.10.4
env: TEST_HADOOP_VERSION="2.2.0" TEST_SPARK_VERSION="1.6.0"
# Spark 1.5.0 and Scala 2.11
- jdk: openjdk7
scala: 2.11.7
env: TEST_HADOOP_VERSION="2.2.0" TEST_SPARK_VERSION="1.5.0"
script:
- sbt -Dhadoop.testVersion=$TEST_HADOOP_VERSION -Dspark.testVersion=$TEST_SPARK_VERSION ++$TRAVIS_SCALA_VERSION coverage test
- sbt ++$TRAVIS_SCALA_VERSION scalastyle
after_success:
- bash <(curl -s https://codecov.io/bash)