Skip to content

Commit

Permalink
Move to 2.11 and cross compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
Cees de Groot committed Oct 6, 2015
1 parent 296e86f commit 0aed9fc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
language: scala
scala:
- 2.10.5
- 2.10.6
- 2.11.7
2 changes: 1 addition & 1 deletion project/Build.scala
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ object UncleverBuild extends Build {
lazy val root = Project(id = "unclever", base = file("."))
.configs(IntegrationTest)
.settings(
scalaVersion := "2.10.5",
scalaVersion := "2.11.7",
crossScalaVersions := Seq("2.10.5", "2.11.7"),
scalacOptions ++= Seq("-unchecked", "-deprecation", "-feature", "-Xfatal-warnings"),
libraryDependencies ++= Seq(
Expand Down
4 changes: 3 additions & 1 deletion src/test/scala/com/evrl/unclever/BasicUsage.scala
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ import org.scalatest.{FlatSpec, ShouldMatchers}

import scala.util.{Failure, Success, Try}

import com.evrl.unclever._


/**
* The tests in this class are all ignored by design. They serve as compilable documentation
* on how to use the library. Compiler-driven design: if you want to extend the library,
Expand Down Expand Up @@ -72,7 +75,6 @@ class BasicUsage extends FlatSpec with ShouldMatchers with MockFactory {

it should "nicely combine multiple SQL statements" ignore {
// sql"create table incident_numbers(account_id int autoincrement, incident_number int)"
import com.evrl.unclever._

// A simple numerator. Could be in one SQL statement, but this demonstrates how to implement
// the pattern "get some data, munch it, update it" in a for comprehension.
Expand Down

0 comments on commit 0aed9fc

Please sign in to comment.