aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Lawson2018-08-21 13:29:06 -0700
committerGitHub2018-08-21 13:29:06 -0700
commit3f2e8cf6cb86e26913bae006fdab1117001b4660 (patch)
treefcf8e91b69b3b74335d7d7200c0d18d08d60cf62
parent2c299f4611ebf49ff8be3dc001d1aca0bdfd1427 (diff)
Make Scala 2.12.4 the default. (#848)
* Bump to Scala 2.12.6 and make it the default. * Use Scala 2.11.12 for chisel tests. * Try with Scala 2.12.4.
-rw-r--r--.run_chisel_tests.sh2
-rw-r--r--.travis.yml8
-rw-r--r--build.sbt4
3 files changed, 7 insertions, 7 deletions
diff --git a/.run_chisel_tests.sh b/.run_chisel_tests.sh
index d52d8c3d..b14d842b 100644
--- a/.run_chisel_tests.sh
+++ b/.run_chisel_tests.sh
@@ -7,5 +7,5 @@ else
mkdir -p chisel3/lib
cp utils/bin/firrtl.jar chisel3/lib
cd chisel3
- sbt "set concurrentRestrictions in Global += Tags.limit(Tags.Test, 2)" clean test
+ sbt ++2.11.12 "set concurrentRestrictions in Global += Tags.limit(Tags.Test, 2)" clean test
fi
diff --git a/.travis.yml b/.travis.yml
index 46bd984d..cd94031f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -39,16 +39,16 @@ jobs:
- stage: test
script:
- verilator --version
- - sbt ++2.11.12 $SBT_ARGS test
+ - sbt ++2.12.4 $SBT_ARGS test
- stage: test
script:
- verilator --version
- - sbt ++2.12.4 $SBT_ARGS test
- # For Chisel tests we just use the default version
+ - sbt ++2.11.12 $SBT_ARGS test
+ # For Chisel tests we use the 2.11.12 version
- stage: test
script:
- verilator --version
- - sbt $SBT_ARGS clean assembly publishLocal
+ - sbt ++2.11.12 $SBT_ARGS clean assembly publishLocal
- bash .run_chisel_tests.sh
- stage: test
script:
diff --git a/build.sbt b/build.sbt
index 33fb8c03..7b3091e0 100644
--- a/build.sbt
+++ b/build.sbt
@@ -16,9 +16,9 @@ name := "firrtl"
version := "1.2-SNAPSHOT"
-scalaVersion := "2.11.12"
+scalaVersion := "2.12.4"
-crossScalaVersions := Seq("2.11.12", "2.12.4")
+crossScalaVersions := Seq("2.12.4", "2.11.12")
def scalacOptionsVersion(scalaVersion: String): Seq[String] = {
Seq() ++ {