Remove unnecessary scala version setting
This commit is contained in:
parent
1c527cb9e0
commit
8a3538bc51
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue