From c95e9d8ecbf0ab6fb6c1a4ec77e363c3ec39f1eb Mon Sep 17 00:00:00 2001 From: Adriaan Moors Date: Tue, 12 Nov 2013 19:51:00 -0800 Subject: [PATCH] Validate against 2.11.0-SNAPSHOT --- .travis.yml | 2 +- build.sbt | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 97245aa1..7bd4b49b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,7 @@ script: - sbt ++$TRAVIS_SCALA_VERSION 'set concurrentRestrictions in Global += Tags.limit(Tags.Test, 1)' test scala: - 2.10.3 - - 2.11.0-M6 + - 2.11.0-SNAPSHOT jdk: - oraclejdk6 - openjdk7 diff --git a/build.sbt b/build.sbt index 03286964..3165ab97 100644 --- a/build.sbt +++ b/build.sbt @@ -11,6 +11,9 @@ scalaVersion := "2.11.0-M6" // but don't rebuild scalacheck, so we don't want to rewire that dependency) scalaBinaryVersion := "2.11.0-M6" +// to allow compiling against snapshot versions of Scala +resolvers += Resolver.sonatypeRepo("snapshots") + // don't use for doc scope, scaladoc warnings are not to be reckoned with scalacOptions in compile ++= Seq("-optimize", "-Xfatal-warnings", "-feature", "-deprecation", "-unchecked", "-Xlint")