-
Notifications
You must be signed in to change notification settings - Fork 279
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a JDK11 and JDK12 build to the Travis matrix #1953
Changes from all commits
706a98b
b606a42
8286841
2c944a8
2b589f3
523a5b8
c5dc96f
8731a48
5ed8487
872f733
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,8 +7,8 @@ homepage in ThisBuild := Some(url("http://www.liftweb.net")) | |
licenses in ThisBuild += ("Apache License, Version 2.0", url("http://www.apache.org/licenses/LICENSE-2.0.txt")) | ||
startYear in ThisBuild := Some(2006) | ||
organizationName in ThisBuild := "WorldWide Conferencing, LLC" | ||
scalaVersion in ThisBuild := "2.12.6" | ||
crossScalaVersions in ThisBuild := Seq("2.12.6", "2.11.11") | ||
scalaVersion in ThisBuild := "2.12.8" | ||
crossScalaVersions in ThisBuild := Seq("2.12.8", "2.11.11") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ditto re: 2.11.12. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm happy to version bump that later but this has been languishing awhile, let's not hold it up. |
||
|
||
libraryDependencies in ThisBuild ++= Seq(specs2, specs2Matchers, specs2Mock, scalacheck, scalatest) | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -90,7 +90,7 @@ class HtmlNormalizerSpec extends Specification with XmlMatchers with Mockito { | |
true | ||
) | ||
|
||
List("testJs1", | ||
List("testJs1", | ||
"testJs2", | ||
"testJs3", | ||
"testJs4", | ||
|
@@ -153,7 +153,7 @@ class HtmlNormalizerSpec extends Specification with XmlMatchers with Mockito { | |
|
||
js.toJsCmd must be matching("""(?s)\Qlift.onEvent("lift-event-js-\E[^"]+\Q","event",function(event) {doStuff;}); | ||
|lift.onEvent("hello","event",function(event) {doStuff2;}); | ||
|lift.onEvent("lift-event-js-\E[^"]+\Q","event",function(event) {doStuff3;});\E""".stripMargin('|').lines.mkString("\n").r | ||
|lift.onEvent("lift-event-js-\E[^"]+\Q","event",function(event) {doStuff3;});\E""".stripMargin('|').linesIterator.mkString("\n").r | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This turns out to be because of this guy: scala/bug#11125 A note from that issue:
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oy vey. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oh I just realized this probably means we've got to hunt all uses of lines down. ffffff There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It feels like I can pick this particular issue up in the 2.13 PR, since I think that'll catch issues? Not sure. |
||
) | ||
} | ||
|
||
|
@@ -179,7 +179,7 @@ class HtmlNormalizerSpec extends Specification with XmlMatchers with Mockito { | |
js.toJsCmd must be matching("""(?s)\Qlift.onEvent("lift-event-js-\E[^"]+\Q","click",function(event) {doStuff; event.preventDefault();}); | ||
|lift.onEvent("hello","submit",function(event) {doStuff2; event.preventDefault();}); | ||
|lift.onEvent("hello2","click",function(event) {doStuff3; event.preventDefault();}); | ||
|lift.onEvent("lift-event-js-\E[^"]+\Q","submit",function(event) {/doStuff4; event.preventDefault();});\E""".stripMargin('|').lines.mkString("\n").r | ||
|lift.onEvent("lift-event-js-\E[^"]+\Q","submit",function(event) {/doStuff4; event.preventDefault();});\E""".stripMargin('|').linesIterator.mkString("\n").r | ||
) | ||
} | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like
2.11.12
is a thing?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm happy to version bump that later but this has been languishing awhile, let's not hold it up.