forked from saurfang/spark-sas7bdat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (35 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
33
34
35
36
37
38
39
40
language: scala
sudo: false
cache:
# these directories are cached to S3 at the end of the build
directories:
- $HOME/.sbt
- $HOME/.ivy2/cache
matrix:
include:
- name: Spark 2.4.6
env: SPARK_VERSION=2.4.6
scala:
- 2.11.12
jdk:
- openjdk8
- name: Spark 3.0.0 (Java 8)
env: SPARK_VERSION=3.0.0
scala:
- 2.12.11
jdk:
- openjdk8
- name: Spark 3.0.0 (Java 11)
env: SPARK_VERSION=3.0.0
scala:
- 2.12.11
jdk:
- openjdk11
script:
- sbt -jvm-opts travis/jvmopts.test ++$TRAVIS_SCALA_VERSION -Dspark.version=$SPARK_VERSION scalastyle
- sbt -jvm-opts travis/jvmopts.test ++$TRAVIS_SCALA_VERSION -Dspark.version=$SPARK_VERSION test
- sbt -jvm-opts travis/jvmopts.compile ++$TRAVIS_SCALA_VERSION -Dspark.version=$SPARK_VERSION assembly
before_cache:
# cleanup the cached directories to avoid unnecessary cache updates
- find $HOME/.ivy2 -name "ivydata-*.properties" -print -delete
- find $HOME/.sbt -name "*.lock" -print -delete