Skip to content
This repository has been archived by the owner on Sep 7, 2022. It is now read-only.

Support scala 2.12 #32

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 14 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,24 @@
dist: trusty
sudo: true
scala:
- "2.11.7"
jdk:
- oraclejdk7
- oraclejdk8
- openjdk8
- "2.11.8"
- "2.12.1"
before_script:
- jdk_switcher use ${JDK}
- sh src/test/resources/setup_travis.sh
before_install:
- cat /etc/hosts
env:
- LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
global:
- LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
matrix:
- JDK=oraclejdk7
- JDK=oraclejdk8
- JDK=openjdk8
addons:
#workaround for openjdk buffer overflow
hostname: dummy
hostname: dummy
matrix:
exclude:
- scala: 2.12.1
env: JDK=oraclejdk7
11 changes: 7 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,19 @@ organization := "com.mdialog"

version := "1.2.0"

scalaVersion := "2.11.7"
scalaVersion := "2.12.1"

crossScalaVersions := Seq("2.11.8", "2.12.1")

parallelExecution := false

scalacOptions ++= Seq("-unchecked", "-deprecation", "-language:postfixOps")

libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-actor" % "2.3.14",
"org.scalatest" %% "scalatest" % "2.2.6" % "test",
"com.typesafe.akka" %% "akka-testkit" % "2.3.14" % "test",
"com.typesafe.akka" %% "akka-actor" % "2.4.16",
"org.zeromq" % "jzmq" % "3.1.0",
"org.scalatest" %% "scalatest" % "3.0.1" % "test",
"com.typesafe.akka" %% "akka-testkit" % "2.4.16" % "test",
"com.novocode" % "junit-interface" % "0.11" % "test"
)

Expand Down