diff options
author | Adriaan Moors <adriaan.moors@typesafe.com> | 2015-07-08 14:03:57 -0700 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@typesafe.com> | 2015-07-08 14:03:57 -0700 |
commit | 83554a3c0fb2b57efa293efcc81a947b98a19469 (patch) | |
tree | 2395031878d1c3fc7a4b192bc87ce9ecee8b35a2 /scripts | |
parent | 41edbe65a738a4a109f1b76b977354a3fee474c0 (diff) | |
download | scala-83554a3c0fb2b57efa293efcc81a947b98a19469.tar.gz scala-83554a3c0fb2b57efa293efcc81a947b98a19469.tar.bz2 scala-83554a3c0fb2b57efa293efcc81a947b98a19469.zip |
Bootstrap scala-xml using `-Xsource:2.11`
Under 2.12 source level, `scala.xml.XMLTest.escape` fails (see #4451)
https://scala-ci.typesafe.com/job/scala-2.12.x-integrate-bootstrap/60/artifact/logs/builds/*view*/
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/jobs/integrate/bootstrap | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/jobs/integrate/bootstrap b/scripts/jobs/integrate/bootstrap index 706a20daf4..c6935df936 100755 --- a/scripts/jobs/integrate/bootstrap +++ b/scripts/jobs/integrate/bootstrap @@ -217,7 +217,8 @@ buildXML() { then echo "Found scala-xml $XML_VER; not building." else update scala scala-xml "$XML_REF" && gfxd - sbtBuild 'set version := "'$XML_VER'-DOC"' $clean doc 'set version := "'$XML_VER'"' test "${buildTasks[@]}" + # TODO: compile under 2.12 source level once `scala.xml.XMLTest.escape` is fixed (see #4451) + sbtBuild 'set scalacOptions += "-Xsource:2.11"' 'set version := "'$XML_VER'-DOC"' $clean doc 'set version := "'$XML_VER'"' test "${buildTasks[@]}" XML_BUILT="yes" # ensure the module is built and published when buildXML is invoked for the second time, see comment above fi } |