mirror of https://github.com/sbt/sbt.git
Merge pull request #126 from xuwei-k/remove-sbt-cross
remove sbt-cross-building, add .travis.yml
This commit is contained in:
commit
c2193cea09
|
|
@ -0,0 +1,5 @@
|
|||
sudo: false
|
||||
language: scala
|
||||
jdk: oraclejdk7
|
||||
script:
|
||||
- sbt test scripted
|
||||
25
build.sbt
25
build.sbt
|
|
@ -1,28 +1,9 @@
|
|||
crossBuildingSettings
|
||||
|
||||
CrossBuilding.crossSbtVersions := Seq("0.13")
|
||||
|
||||
CrossBuilding.scriptedSettings
|
||||
ScriptedPlugin.scriptedSettings
|
||||
|
||||
libraryDependencies += "com.github.mdr" %% "ascii-graphs" % "0.0.3"
|
||||
|
||||
libraryDependencies <++= scalaVersion { version =>
|
||||
if (version startsWith "2.1") Seq("org.scala-lang" % "scala-reflect" % version % "provided")
|
||||
else Nil
|
||||
}
|
||||
|
||||
libraryDependencies <+= scalaVersion { version =>
|
||||
if (version startsWith "2.9") "org.specs2" % "specs2_2.9.3" % "1.12.4.1" % "test"
|
||||
else "org.specs2" %% "specs2" % "2.3.11" % "test"
|
||||
}
|
||||
libraryDependencies += "org.specs2" %% "specs2" % "2.3.11" % "test"
|
||||
|
||||
scalacOptions ++= Seq("-deprecation", "-unchecked")
|
||||
|
||||
sbt.CrossBuilding.latestCompatibleVersionMapper ~= {
|
||||
original => {
|
||||
case "0.13" => "0.13.6"
|
||||
case x => original(x)
|
||||
}
|
||||
}
|
||||
|
||||
ScalariformSupport.formatSettings
|
||||
ScalariformSupport.formatSettings
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
addSbtPlugin("net.virtual-void" % "sbt-cross-building" % "0.8.1")
|
||||
libraryDependencies += "org.scala-sbt" % "scripted-plugin" % sbtVersion.value
|
||||
|
||||
addSbtPlugin("com.typesafe.sbt" % "sbt-scalariform" % "1.2.1")
|
||||
addSbtPlugin("com.typesafe.sbt" % "sbt-scalariform" % "1.2.1")
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
scalaVersion := "2.9.1"
|
||||
|
||||
resolvers += "typesafe maven" at "http://repo.typesafe.com/typesafe/maven-releases/"
|
||||
|
||||
libraryDependencies ++= Seq(
|
||||
"com.codahale" % "jerkson_2.9.1" % "0.5.0"
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue