Remove unnecessary scala version setting

This commit is contained in:
Taro L. Saito 2017-12-01 16:26:13 -08:00
parent 1c527cb9e0
commit 8a3538bc51
1 changed files with 3 additions and 3 deletions

View File

@ -6,10 +6,10 @@ VERSION=`perl -npe "s/version in ThisBuild\s+:=\s+\"(.*)\"/\1/" version.sbt | se
# Deploy a snapshot version only for master branch and jdk8
if [[ "$TRAVIS_JDK_VERSION" == "oraclejdk8" ]]; then
if [[ "$TRAVIS_PULL_REQUEST" == "false" ]] && [[ "$VERSION" == *SNAPSHOT ]]; then
sbt ++$TRAVIS_SCALA_VERSION "; test; publish";
./sbt "; test; publish";
else
sbt ++$TRAVIS_SCALA_VERSION test;
./sbt test;
fi;
else
sbt ++$TRAVIS_SCALA_VERSION test;
./sbt test;
fi;