Skip to content

Commit

Permalink
Cross-compile for 2.13.0-M5
Browse files Browse the repository at this point in the history
  • Loading branch information
alexarchambault committed Dec 20, 2018
1 parent 4cfa634 commit 96bfda2
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Expand Up @@ -11,6 +11,11 @@ stages:
if: (branch = master AND type = push) OR (tag IS present)
jobs:
include:
- env: SCALA_VERSION=2.13
sudo: required
services: docker
before_install: ./scripts/setup-sbt-extra.sh
script: bin/sbt scala213 testsJVM/test
- env: SCALA_VERSION=2.12 NATIVE=1
sudo: required
before_install: curl https://raw.githubusercontent.com/scala-native/scala-native/master/scripts/travis_setup.sh | bash -x
Expand Down
2 changes: 2 additions & 0 deletions appveyor.yml
Expand Up @@ -30,8 +30,10 @@ build_script:
- sbt scala212 coreJVM/publishLocal cacheJVM/publishLocal extra/publishLocal scalazJVM/publishLocal cli/publishLocal
- sbt scala211 compile coreJVM/publishLocal
test_script:
- sbt scala213 testsJVM/test
- sbt scala212 testsJVM/test
- sbt scala211 testsJVM/test
- sbt scala213 testsJVM/it:test
- sbt scala212 testsJVM/it:test
- sbt scala211 testsJVM/it:test
branches:
Expand Down
Expand Up @@ -57,7 +57,7 @@ package object compatibility {
helper(node.attributes).toVector
}
def label = node.label
def children = node.child.map(fromNode)
def children = node.child.map(fromNode).toSeq
def isText = node match { case _: scala.xml.Text => true; case _ => false }
def textContent = node.text
def isElement = node match { case _: scala.xml.Elem => true; case _ => false }
Expand Down
3 changes: 2 additions & 1 deletion project/ScalaVersion.scala
@@ -1,10 +1,11 @@

object ScalaVersion {

def scala213 = "2.13.0-M5"
def scala212 = "2.12.8"
def scala211 = "2.11.12"

val versions = Seq(scala212, scala211)
val versions = Seq(scala213, scala212, scala211)

val map = versions
.map { v =>
Expand Down

0 comments on commit 96bfda2

Please sign in to comment.