forked from graphframes/graphframes
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
27 lines (24 loc) · 992 Bytes
/
.travis.yml
File metadata and controls
27 lines (24 loc) · 992 Bytes
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
language: scala
scala:
- 2.10.5
jdk:
- oraclejdk7 # openJDK crashes sometimes
sudo: false
cache:
directories:
- $HOME/.ivy2
- $HOME/.sbt/launchers/
- $HOME/.cache/spark-versions
env:
matrix:
- SPARK_VERSION=1.6.1 SPARK_BUILD="spark-1.6.1-bin-hadoop2.6" SPARK_BUILD_URL="http://d3kbcqa49mib13.cloudfront.net/spark-1.6.1-bin-hadoop2.6.tgz"
- SPARK_VERSION=1.5.2 SPARK_BUILD="spark-1.5.2-bin-hadoop2.6" SPARK_BUILD_URL="http://d3kbcqa49mib13.cloudfront.net/spark-1.5.2-bin-hadoop2.6.tgz"
- SPARK_VERSION=1.4.1 SPARK_BUILD="spark-1.4.1-bin-hadoop2.6" SPARK_BUILD_URL="http://d3kbcqa49mib13.cloudfront.net/spark-1.4.1-bin-hadoop2.6.tgz"
before_install:
- ./bin/download_travis_dependencies.sh
install:
- pip install --user -r ./python/requirements.txt
script:
- sbt -Dspark.version=$SPARK_VERSION "set test in assembly := {}" assembly
- sbt -Dspark.version=$SPARK_VERSION test
- SPARK_HOME=$HOME/.cache/spark-versions/$SPARK_BUILD ./python/run-tests.sh