sudo: required

services:
  - docker

language: scala

scala:
  - 2.11.8

jdk:
  - openjdk7
  - oraclejdk7
  - oraclejdk8

script:
  - if [ "$TRAVIS_JDK_VERSION" == "oraclejdk8" ]; then
      if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
        sbt ++$TRAVIS_SCALA_VERSION "; test; publish";
      else
        sbt ++$TRAVIS_SCALA_VERSION test;
      fi;
    else
      sbt ++$TRAVIS_SCALA_VERSION test;
    fi

sudo: required

services:
  - docker

language: scala

scala:
  - 2.12.4

jdk:
  - openjdk7
  - oraclejdk7
  - oraclejdk8

script:
  - if [ "$TRAVIS_JDK_VERSION" == "oraclejdk8" ]; then
      if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
        sbt ++$TRAVIS_SCALA_VERSION "; test; publish";
      else
        sbt ++$TRAVIS_SCALA_VERSION test;
      fi;
    else
      sbt ++$TRAVIS_SCALA_VERSION test;
    fi

Use Scala 2.12 for building{
Use Scala 2.12 for building{
