mirror of https://github.com/sbt/sbt.git
Enable SBT scripted tests on CI
This commit is contained in:
parent
a21ef67c8b
commit
e195a96a7f
|
|
@ -17,9 +17,10 @@ install:
|
|||
build_script:
|
||||
- sbt ++2.11.8 clean compile coreJVM/publishLocal
|
||||
- sbt ++2.10.6 clean compile
|
||||
- sbt ++2.10.6 coreJVM/publishLocal cache/publishLocal # to make the scripted tests happy
|
||||
test_script:
|
||||
- sbt ++2.11.8 testsJVM/test # Would node be around for testsJS/test?
|
||||
- sbt ++2.10.6 testsJVM/test
|
||||
- sbt ++2.10.6 testsJVM/test plugin/scripted
|
||||
cache:
|
||||
- C:\sbt\
|
||||
- C:\Users\appveyor\.ivy2
|
||||
|
|
|
|||
|
|
@ -32,7 +32,15 @@ function isMasterOrDevelop() {
|
|||
|
||||
# TODO Add coverage once https://github.com/scoverage/sbt-scoverage/issues/111 is fixed
|
||||
|
||||
SBT_COMMANDS="compile test coreJVM/mimaReportBinaryIssues cache/mimaReportBinaryIssues"
|
||||
SBT_COMMANDS="compile test"
|
||||
|
||||
if echo "$TRAVIS_SCALA_VERSION" | grep -q "^2\.10"; then
|
||||
SBT_COMMANDS="$SBT_COMMANDS publishLocal" # to make the scripted tests happy
|
||||
SBT_COMMANDS="$SBT_COMMANDS plugin/scripted"
|
||||
fi
|
||||
|
||||
SBT_COMMANDS="$SBT_COMMANDS coreJVM/mimaReportBinaryIssues cache/mimaReportBinaryIssues"
|
||||
|
||||
if isNotPr && publish && isMaster; then
|
||||
SBT_COMMANDS="$SBT_COMMANDS publish"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in New Issue