diff --git a/.travis.yml b/.travis.yml index a5d030070..d1fa2ac01 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,8 +3,6 @@ os: linux jdk: openjdk8 git: depth: false # https://stackoverflow.com/a/51727114/3714539 -before_install: - - export TRAVIS_SCALA_VERSION=2.12.8 script: scripts/travis.sh stages: - name: test diff --git a/scripts/travis.sh b/scripts/travis.sh index 072ffccd8..4784b68ce 100755 --- a/scripts/travis.sh +++ b/scripts/travis.sh @@ -20,7 +20,6 @@ runLmCoursierTests() { # publishing locally to ensure shading runs fine ./metadata/scripts/with-test-repo.sh ./sbt \ - ++$TRAVIS_SCALA_VERSION! \ evictionCheck \ compatibilityCheck \ lm-coursier-shaded/publishLocal \ @@ -38,13 +37,12 @@ runSbtCoursierTests() { fi ./metadata/scripts/with-test-repo.sh ./sbt \ - ++$TRAVIS_SCALA_VERSION \ sbt-coursier-shared/test \ "sbt-coursier/scripted shared-$TEST_GROUP/* $SCRIPTED_EXTRA" } runSbtShadingTests() { - ./sbt ++$TRAVIS_SCALA_VERSION sbt-shading/scripted + ./sbt sbt-shading/scripted }