Run sbt-lm-coursier tests in separate Travis jobs

This commit is contained in:
Alexandre Archambault 2018-11-20 14:20:41 +01:00
parent 22f78872c8
commit cd5e4fc00d
2 changed files with 6 additions and 5 deletions

View File

@ -12,11 +12,12 @@ stages:
if: (branch = master AND type = push) OR (tag IS present) if: (branch = master AND type = push) OR (tag IS present)
jobs: jobs:
include: include:
- env: SBT_COURSIER=1 SBT_COURSIER_TEST_GROUP=1 - env: SBT_COURSIER=1 TEST_GROUP=1
- env: SBT_COURSIER=1 SBT_COURSIER_TEST_GROUP=2 - env: SBT_COURSIER=1 TEST_GROUP=2
- env: SBT_SHADING=1 - env: SBT_SHADING=1
- env: SBT_PGP_COURSIER=1 - env: SBT_PGP_COURSIER=1
- env: LM_COURSIER=1 - env: LM_COURSIER=1 TEST_GROUP=1
- env: LM_COURSIER=1 TEST_GROUP=2
- stage: release - stage: release
script: sbt ci-release script: sbt ci-release
branches: branches:

View File

@ -23,14 +23,14 @@ runLmCoursierTests() {
./metadata/scripts/with-test-repo.sh sbt \ ./metadata/scripts/with-test-repo.sh sbt \
++$TRAVIS_SCALA_VERSION \ ++$TRAVIS_SCALA_VERSION \
lm-coursier/test \ lm-coursier/test \
"sbt-lm-coursier/scripted shared-1/* shared-2/*" "sbt-lm-coursier/scripted shared-$TEST_GROUP/*"
} }
runSbtCoursierTests() { runSbtCoursierTests() {
./metadata/scripts/with-test-repo.sh sbt \ ./metadata/scripts/with-test-repo.sh sbt \
++$TRAVIS_SCALA_VERSION \ ++$TRAVIS_SCALA_VERSION \
sbt-coursier/test \ sbt-coursier/test \
"sbt-coursier/scripted shared-$SBT_COURSIER_TEST_GROUP/* sbt-coursier-group-$SBT_COURSIER_TEST_GROUP/*" "sbt-coursier/scripted shared-$TEST_GROUP/* sbt-coursier-group-$TEST_GROUP/*"
} }
runSbtShadingTests() { runSbtShadingTests() {