Skip to content
This repository has been archived by the owner on Apr 19, 2020. It is now read-only.

Commit

Permalink
Drops support for JDK6
Browse files Browse the repository at this point in the history
  • Loading branch information
densh committed Jul 27, 2015
1 parent 9ac9540 commit b4ce3a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
language: scala
scala:
- 2.11.6
- 2.11.7
script:
- sbt ++$TRAVIS_SCALA_VERSION "tests/test" "jmh/compile" "root/publishOnlyWhenOnMaster"
jdk:
- openjdk6
- openjdk7
- oraclejdk7
- oraclejdk8
Expand Down
4 changes: 2 additions & 2 deletions project/Build.scala
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ object RegionsBuild extends Build {
val pr = Try(sys.env("TRAVIS_PULL_REQUEST")).getOrElse("false") != "false"
val branch = Try(sys.env("TRAVIS_BRANCH")).getOrElse("??")
val snapshot = version.value.trim.endsWith("SNAPSHOT")
val jdk6 = System.getProperty("java.version").contains("1.6.")
(travis, pr, branch, snapshot, jdk6) match {
val jdk7 = System.getProperty("java.version").contains("1.7.")
(travis, pr, branch, snapshot, jdk7) match {
case (true, false, "master", true, true) => publish
case _ => Def.task ()
}
Expand Down

0 comments on commit b4ce3a6

Please sign in to comment.