Skip to content
This repository was archived by the owner on Sep 8, 2022. It is now read-only.

Commit 696f666

Browse files
authored
Merge pull request #73 from scala/branch-for-2.12
new 1.1.x branch for Scala 2.12 only
2 parents d68f47a + 1f3808d commit 696f666

File tree

3 files changed

+8
-23
lines changed

3 files changed

+8
-23
lines changed

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@ env:
1515
script: admin/build.sh
1616

1717
jdk:
18-
- openjdk6
1918
- oraclejdk8
2019

2120
notifications:
22-
email: adriaan.moors@typesafe.com
21+
email:
22+
- adriaan.moors@lightbend.com
23+
- seth.tisue@lightbend.com

build.sbt

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4,34 +4,18 @@ scalaModuleSettings
44

55
name := "scala-partest"
66

7-
version := "1.0.19-SNAPSHOT"
7+
version := "1.1.0-SNAPSHOT"
88

99
scalaVersion := crossScalaVersions.value.head
1010

11-
crossScalaVersions := {
12-
val java = System.getProperty("java.version")
13-
if (java.startsWith("1.6."))
14-
Seq("2.11.8")
15-
else if (java.startsWith("1.8."))
16-
Seq("2.12.1")
17-
else
18-
sys.error(s"don't know what Scala versions to build on $java")
19-
}
11+
crossScalaVersions := Seq("2.12.1")
2012

21-
scalaXmlVersion := {
22-
if (scalaVersion.value.startsWith("2.11.")) "1.0.4" else "1.0.6"
23-
}
13+
scalaXmlVersion := "1.0.6"
2414

2515
// TODO: eliminate "-deprecation:false" for nightlies,
2616
// included by default because we don't want to break scala/scala pr validation
2717
scalacOptions ++=
28-
Seq("-feature", "-deprecation:false", "-unchecked", "-Xlint", "-Xfatal-warnings") ++
29-
(CrossVersion.partialVersion(scalaVersion.value) match {
30-
case Some((2, scalaMajor)) if scalaMajor < 12 =>
31-
Seq("-optimize")
32-
case _ =>
33-
Seq() // maybe "-Yopt:l:classpath" eventually?
34-
})
18+
Seq("-feature", "-deprecation:false", "-unchecked", "-Xlint", "-Xfatal-warnings")
3519

3620
// dependencies
3721
// versions involved in integration builds / that change frequently should be keys, set above!

project/build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version=0.13.8
1+
sbt.version=0.13.13

0 commit comments

Comments
 (0)