mirror of https://github.com/sbt/sbt.git
Run sbt-pgp-coursier tests in their own job
This commit is contained in:
parent
3e05d920a4
commit
0d161be94d
|
|
@ -8,6 +8,7 @@ matrix:
|
||||||
include:
|
include:
|
||||||
- env: SBT_COURSIER=1
|
- env: SBT_COURSIER=1
|
||||||
- env: SBT_SHADING=1
|
- env: SBT_SHADING=1
|
||||||
|
- env: SBT_PGP_COURSIER=1
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
|
|
|
||||||
|
|
@ -7,20 +7,27 @@ downloadInstallSbtExtras() {
|
||||||
chmod +x bin/sbt
|
chmod +x bin/sbt
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sbtPgpCoursier() {
|
||||||
|
[ "${SBT_PGP_COURSIER:-""}" = 1 ]
|
||||||
|
}
|
||||||
|
|
||||||
sbtShading() {
|
sbtShading() {
|
||||||
[ "${SBT_SHADING:-""}" = 1 ]
|
[ "${SBT_SHADING:-""}" = 1 ]
|
||||||
}
|
}
|
||||||
|
|
||||||
runSbtCoursierTests() {
|
runSbtCoursierTests() {
|
||||||
addPgpKeys
|
./scripts/with-test-repo.sh sbt ++$TRAVIS_SCALA_VERSION sbt-coursier/test sbt-coursier/scripted
|
||||||
./scripts/with-test-repo.sh sbt ++$TRAVIS_SCALA_VERSION sbt-coursier/scripted
|
|
||||||
sbt ++$TRAVIS_SCALA_VERSION sbt-pgp-coursier/scripted
|
|
||||||
}
|
}
|
||||||
|
|
||||||
runSbtShadingTests() {
|
runSbtShadingTests() {
|
||||||
sbt ++$TRAVIS_SCALA_VERSION sbt-shading/scripted
|
sbt ++$TRAVIS_SCALA_VERSION sbt-shading/scripted
|
||||||
}
|
}
|
||||||
|
|
||||||
|
runSbtPgpCoursierTests() {
|
||||||
|
addPgpKeys
|
||||||
|
sbt ++$TRAVIS_SCALA_VERSION sbt-pgp-coursier/scripted
|
||||||
|
}
|
||||||
|
|
||||||
addPgpKeys() {
|
addPgpKeys() {
|
||||||
for key in b41f2bce 9fa47a44 ae548ced b4493b94 53a97466 36ee59d9 dc426429 3b80305d 69e0a56c fdd5c0cd 35543c27 70173ee5 111557de 39c263a9; do
|
for key in b41f2bce 9fa47a44 ae548ced b4493b94 53a97466 36ee59d9 dc426429 3b80305d 69e0a56c fdd5c0cd 35543c27 70173ee5 111557de 39c263a9; do
|
||||||
gpg --keyserver keyserver.ubuntu.com --recv "$key"
|
gpg --keyserver keyserver.ubuntu.com --recv "$key"
|
||||||
|
|
@ -32,6 +39,8 @@ downloadInstallSbtExtras
|
||||||
|
|
||||||
if sbtShading; then
|
if sbtShading; then
|
||||||
runSbtShadingTests
|
runSbtShadingTests
|
||||||
|
elif sbtPgpCoursier; then
|
||||||
|
runSbtPgpCoursierTests
|
||||||
else
|
else
|
||||||
runSbtCoursierTests
|
runSbtCoursierTests
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue