language: java
jdk:
  - oraclejdk8
  - oraclejdk7
  - openjdk6
before_install: .travis/before_install.sh
script: mvn verify
after_success: .travis/after_success.sh
branches:
  only:
  - master
  - contrib/nook
env:
  global:
  - secure: gcpUIktuajGHvn95bzMg9Nqay+kGAdKXWOosA6sQHvaK+KCsiP4nhAMX5rWUYvk3XnEs2WlfZUBO7/aDcpX4fjZozs8fHbVuSfftYP+4MIIhEI2FNEXp823EShSRB32cGmEkdUh7OQdv5zN8SEQNW9MJguLSvTkp2FGYEsV3x1g=
  - secure: jMv0M898kWiSKiPaky7CpCcvC3QqzEWwauOsmx9WuRNLFO3e/tuM/bPx+06wWlBgy359uPlSFaOch4QFlDx/CTCLtIudpF7cx4Raej9F3yVdqLnT2/9W88Oi5Vxhak1Szs3MUmVWbIqd5ulf2jsV1hMHJVn2tg3i1KYqmFyQ7+A=

language: java
jdk:
  - oraclejdk8
  - oraclejdk7
before_install: .travis/before_install.sh
script: mvn verify
after_success: .travis/after_success.sh
branches:
  only:
  - master
  - contrib/nook
env:
  global:
  - secure: gcpUIktuajGHvn95bzMg9Nqay+kGAdKXWOosA6sQHvaK+KCsiP4nhAMX5rWUYvk3XnEs2WlfZUBO7/aDcpX4fjZozs8fHbVuSfftYP+4MIIhEI2FNEXp823EShSRB32cGmEkdUh7OQdv5zN8SEQNW9MJguLSvTkp2FGYEsV3x1g=
  - secure: jMv0M898kWiSKiPaky7CpCcvC3QqzEWwauOsmx9WuRNLFO3e/tuM/bPx+06wWlBgy359uPlSFaOch4QFlDx/CTCLtIudpF7cx4Raej9F3yVdqLnT2/9W88Oi5Vxhak1Szs3MUmVWbIqd5ulf2jsV1hMHJVn2tg3i1KYqmFyQ7+A=

Remove support for Java 6
Remove support for Java 6

From now on, EpubCheck no longer officially supports Java 6. This
commit removes Java 6 from the CI-tested environments.

Note:

This decision is due to the recent inclusion of the Twelve Monkeys [1]
ImageIO library, which is incompatible with Java 6 in its latest
version.

It is still possible to run EpubCheck on Java 6 by replacing the
TwelveMonkeys libraries with their earlier version `3.0.x`, but with
lower JPEG support on Java 8.

[1] https://github.com/haraldk/TwelveMonkeys
