File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -24,18 +24,18 @@ before_install:
24
24
25
25
after_success :
26
26
- if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" -a "$TRAVIS_SCALA_VERSION" = "2.11.8" ]; then
27
- sbt publishSignedAll;
27
+ sbt ++$TRAVIS_SCALA_VERSION publishSignedAll;
28
28
echo "Deploying to Heroku";
29
29
docker login --username=noel.m@47deg.com --password=$heroku_token registry.heroku.com;
30
- sbt dockerBuildAndPush;
31
- sbt smoketests/test;
30
+ sbt ++$TRAVIS_SCALA_VERSION dockerBuildAndPush;
31
+ sbt ++$TRAVIS_SCALA_VERSION smoketests/test;
32
32
fi
33
33
- if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" -a "$TRAVIS_SCALA_VERSION" = "2.12.1" ]; then
34
- sbt -Devaluator.heroku.name=scala-evaluator-212 publishSignedAll;
34
+ sbt ++$TRAVIS_SCALA_VERSION publishSignedAll;
35
35
echo "Deploying to Heroku";
36
36
docker login --username=noel.m@47deg.com --password=$heroku_token registry.heroku.com;
37
- sbt -Devaluator.heroku.name=scala-evaluator-212 dockerBuildAndPush;
38
- sbt smoketests/test;
37
+ sbt ++$TRAVIS_SCALA_VERSION -Devaluator.heroku.name=scala-evaluator-212 dockerBuildAndPush;
38
+ sbt ++$TRAVIS_SCALA_VERSION smoketests/test;
39
39
fi
40
40
- if [ "$TRAVIS_PULL_REQUEST" = "true" ]; then
41
41
echo "Not in master branch, skipping deploy and release";
You can’t perform that action at this time.
0 commit comments