Skip to content

Commit

Permalink
Disable spark tests in 2.12
Browse files Browse the repository at this point in the history
  • Loading branch information
alexarchambault committed Jan 4, 2017
1 parent 3ee2494 commit 950e225
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions project/run-tests
Expand Up @@ -4,10 +4,14 @@ set -ev
# On Travis, this leaves more memory to the forked JVM where tests are run
export SBT_OPTS="-J-Xmx512m -J-Xms512m"

SCALA_VERSION=${TRAVIS_SCALA_VERSION:-2.11.8}

function testOnly() {
sbt ++${TRAVIS_SCALA_VERSION:-2.11.8} "testOnly $@"
sbt ++$SCALA_VERSION "testOnly $@"
}

testOnly jupyter.Spark16Tests
testOnly jupyter.Spark20Tests
if grep -q '$2\.12\.' <(echo "$SCALA_VERSION"); then
testOnly jupyter.Spark16Tests
testOnly jupyter.Spark20Tests
fi

0 comments on commit 950e225

Please sign in to comment.