mirror of https://github.com/sbt/sbt.git
Merge pull request #218 from alexarchambault/topic/ci-scripted
Enable SBT scripted tests on CI
This commit is contained in:
commit
c22ba8ba6a
|
|
@ -17,9 +17,10 @@ install:
|
||||||
build_script:
|
build_script:
|
||||||
- sbt ++2.11.8 clean compile coreJVM/publishLocal
|
- sbt ++2.11.8 clean compile coreJVM/publishLocal
|
||||||
- sbt ++2.10.6 clean compile
|
- sbt ++2.10.6 clean compile
|
||||||
|
- sbt ++2.10.6 coreJVM/publishLocal cache/publishLocal # to make the scripted tests happy
|
||||||
test_script:
|
test_script:
|
||||||
- sbt ++2.11.8 testsJVM/test # Would node be around for testsJS/test?
|
- 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:
|
cache:
|
||||||
- C:\sbt\
|
- C:\sbt\
|
||||||
- C:\Users\appveyor\.ivy2
|
- C:\Users\appveyor\.ivy2
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,15 @@ function isMasterOrDevelop() {
|
||||||
|
|
||||||
# TODO Add coverage once https://github.com/scoverage/sbt-scoverage/issues/111 is fixed
|
# 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
|
if isNotPr && publish && isMaster; then
|
||||||
SBT_COMMANDS="$SBT_COMMANDS publish"
|
SBT_COMMANDS="$SBT_COMMANDS publish"
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue