Skip to content

Commit

Permalink
Merge pull request sbt#88 from eed3si9n/wip/1.1.1
Browse files Browse the repository at this point in the history
Bump Scala versions
  • Loading branch information
eed3si9n authored Nov 29, 2017
2 parents e8c9757 + 8ff7f03 commit 98cc14a
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 12 deletions.
21 changes: 15 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,21 @@
language: scala
jdk: oraclejdk8
script: sbt ++$TRAVIS_SCALA_VERSION mimaReportBinaryIssues scalafmt::test test:scalafmt::test sbt:scalafmt::test test

scala:
- 2.10.6
- 2.11.11
- 2.12.3
- 2.13.0-M1
matrix:
include:
- scala: 2.10.7
env: CMD="mimaReportBinaryIssues scalafmt::test test:scalafmt::test sbt:scalafmt::test test"

- scala: 2.11.12
env: CMD="mimaReportBinaryIssues scalafmt::test test:scalafmt::test sbt:scalafmt::test test"

- scala: 2.12.4
env: CMD="mimaReportBinaryIssues scalafmt::test test:scalafmt::test sbt:scalafmt::test test"

- scala: 2.13.0-M2
env: CMD=compile

script: sbt ++$TRAVIS_SCALA_VERSION $CMD

cache:
directories:
Expand Down
5 changes: 4 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ val io = (project in file("io"))
.settings(
commonSettings,
name := "IO",
libraryDependencies ++= Seq(scalaCompiler.value % Test, scalaCheck % Test, scalatest % Test),
libraryDependencies ++= {
if (scalaVersion.value startsWith "2.13.") Vector()
else Vector(scalaCompiler.value % Test, scalaCheck % Test, scalatest % Test)
},
sourceManaged in (Compile, generateContrabands) := baseDirectory.value / "src" / "main" / "contraband-scala",
initialCommands in console += "\nimport sbt.io._, syntax._",
mimaPreviousArtifacts := Set(organization.value %% moduleName.value % "1.0.0"),
Expand Down
8 changes: 4 additions & 4 deletions project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ import sbt._
import Keys._

object Dependencies {
val scala210 = "2.10.6"
val scala211 = "2.11.11"
val scala212 = "2.12.3"
val scala213 = "2.13.0-M1"
val scala210 = "2.10.7"
val scala211 = "2.11.12"
val scala212 = "2.12.4"
val scala213 = "2.13.0-M2"

val scalaCompiler = Def.setting { "org.scala-lang" % "scala-compiler" % scalaVersion.value }

Expand Down
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.0.0
sbt.version=1.0.4

0 comments on commit 98cc14a

Please sign in to comment.