forked from databricks/spark-avro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (37 loc) · 1.46 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
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.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"
# Spark 2.2.0, Scala 2.11, and Avro 1.7.x
- jdk: openjdk8
scala: 2.11.8
env: TEST_HADOOP_VERSION="2.6.5" TEST_SPARK_VERSION="2.2.0" TEST_AVRO_VERSION="1.7.6" TEST_AVRO_MAPRED_VERSION="1.7.7"
# Spark 2.2.0, Scala 2.10, and Avro 1.8.x
- jdk: openjdk8
scala: 2.10.6
env: TEST_HADOOP_VERSION="2.6.5" TEST_SPARK_VERSION="2.2.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)