This repository has been archived by the owner on Sep 23, 2019. It is now read-only.
forked from databricks/spark-avro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
43 lines (43 loc) · 1.86 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
language: scala
sudo: false
# Cache settings here are based on latest SBT documentation.
cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt/boot/
before_cache:
# Tricks to avoid unnecessary cache updates
- find $HOME/.ivy2 -name "ivydata-*.properties" -delete
- find $HOME/.sbt -name "*.lock" -delete
matrix:
include:
# ---- Spark 2.0.x ----------------------------------------------------------------------------
# Spark 2.0.0, Scala 2.11, and Avro 1.7.x
- jdk: openjdk7
scala: 2.11.7
env: TEST_HADOOP_VERSION="2.2.0" TEST_SPARK_VERSION="2.0.0" TEST_AVRO_VERSION="1.7.6" TEST_AVRO_MAPRED_VERSION="1.7.7"
# Spark 2.0.0, Scala 2.10, and Avro 1.7.x
- jdk: openjdk7
scala: 2.10.4
env: TEST_HADOOP_VERSION="2.2.0" TEST_SPARK_VERSION="2.0.0" TEST_AVRO_VERSION="1.7.6" TEST_AVRO_MAPRED_VERSION="1.7.7"
# Spark 2.0.0, Scala 2.10, and Avro 1.8.x
- jdk: openjdk7
scala: 2.10.4
env: TEST_HADOOP_VERSION="2.2.0" TEST_SPARK_VERSION="2.0.0" TEST_AVRO_VERSION="1.8.0" TEST_AVRO_MAPRED_VERSION="1.8.0"
# ---- Spark 2.1.x ----------------------------------------------------------------------------
# Spark 2.1.0, Scala 2.11, and Avro 1.7.x
- jdk: openjdk7
scala: 2.11.8
env: TEST_HADOOP_VERSION="2.2.0" TEST_SPARK_VERSION="2.1.0" TEST_AVRO_VERSION="1.7.6" TEST_AVRO_MAPRED_VERSION="1.7.7"
# Spark 2.1.0, Scala 2.10, and Avro 1.7.x
- jdk: openjdk7
scala: 2.10.6
env: TEST_HADOOP_VERSION="2.2.0" TEST_SPARK_VERSION="2.1.0" TEST_AVRO_VERSION="1.7.6" TEST_AVRO_MAPRED_VERSION="1.7.7"
# Spark 2.1.0, Scala 2.10, and Avro 1.8.x
- jdk: openjdk7
scala: 2.10.6
env: TEST_HADOOP_VERSION="2.2.0" TEST_SPARK_VERSION="2.1.0" TEST_AVRO_VERSION="1.8.0" TEST_AVRO_MAPRED_VERSION="1.8.0"
script:
- ./dev/run-tests-travis.sh
after_success:
- bash <(curl -s https://codecov.io/bash)