forked from databricks/spark-xml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (46 loc) · 1.56 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
language: scala
sudo: false
cache:
directories:
- $HOME/.ivy2
matrix:
include:
# Spark 1.3.0
- jdk: openjdk6
scala: 2.10.5
env: TEST_HADOOP_VERSION="1.2.1" TEST_SPARK_VERSION="1.3.0"
- jdk: openjdk6
scala: 2.11.7
env: TEST_HADOOP_VERSION="1.0.4" TEST_SPARK_VERSION="1.3.0"
# Spark 1.4.1
# 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.
- jdk: openjdk6
scala: 2.10.5
env: TEST_HADOOP_VERSION="2.2.0" TEST_SPARK_VERSION="1.4.1"
- jdk: openjdk7
scala: 2.11.7
env: TEST_HADOOP_VERSION="2.2.0" TEST_SPARK_VERSION="1.4.1"
# Spark 1.5.0
- jdk: openjdk7
scala: 2.10.5
env: TEST_HADOOP_VERSION="1.0.4" TEST_SPARK_VERSION="1.5.0"
- jdk: openjdk7
scala: 2.11.7
env: TEST_HADOOP_VERSION="2.2.0" TEST_SPARK_VERSION="1.5.0"
# Spark 1.6.0
- jdk: openjdk7
scala: 2.10.5
env: TEST_HADOOP_VERSION="2.2.0" TEST_SPARK_VERSION="1.6.0"
- jdk: openjdk7
scala: 2.11.7
env: TEST_HADOOP_VERSION="1.2.1" TEST_SPARK_VERSION="1.6.0"
script:
- sbt -Dhadoop.testVersion=$TEST_HADOOP_VERSION -Dspark.testVersion=$TEST_SPARK_VERSION ++$TRAVIS_SCALA_VERSION coverage test
- sbt ++$TRAVIS_SCALA_VERSION assembly
- sbt ++$TRAVIS_SCALA_VERSION scalastyle
- sbt ++$TRAVIS_SCALA_VERSION "test:scalastyle"
#- sbt ++$TRAVIS_SCALA_VERSION mima-report-binary-issues
after_success:
- bash <(curl -s https://codecov.io/bash)