language: scala

scala:
  - 2.10.4

jdk:
  - oraclejdk7
  - openjdk6
  - openjdk7

before_script:
  # default $SBT_OPTS is irrelevant to sbt lancher
  - unset SBT_OPTS

script:
  - ./sbt ++$TRAVIS_SCALA_VERSION +test

language: scala

scala:
  - 2.10.4
  - 2.11.2

jdk:
  - oraclejdk7
  # Note: not currently testing on JDK 8 internally
  - oraclejdk8
  - openjdk7

before_script:
  # default $SBT_OPTS is irrelevant to sbt lancher
  - unset SBT_OPTS

script:
  - ./sbt ++$TRAVIS_SCALA_VERSION test

Fix Scala and Java versions in Travis config
[split] Fix Scala and Java versions in Travis config

Problem

We no longer intend to support Java 6, and it should not be included in the
Travis config. Also the use of `+test` in the SBT command causes the tests to
be run against all Scala versions in the SBT config, not Travis's version.

Solution

Remove OpenJDK 6 and the plus sign in the SBT command, and add Scala 2.11.2.

Result

Tests run as intended.

Signed-off-by: Travis Brown <tbrown@twitter.com>

RB_ID=523195
