language: groovy
sudo: false
dist: precise

jdk:
  - openjdk7
  - oraclejdk8

env:
  global:
  - JAVA_OPTS="-Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2"
  - GRADLE_OPTS="-Xmx1024m"

script:
  - ./gradlew check uploadArchives --full-stacktrace
  - cd samples/example && ./gradlew clean webResourceCompile --full-stacktrace && cd ../../

after_success:
  - ./gradlew coveralls --full-stacktrace

language: groovy
sudo: false
dist: precise

jdk:
  #- openjdk7
  - oraclejdk8

env:
  global:
  - GRADLE_OPTS="-Xmx1024m"

script:
  - ./gradlew check uploadArchives --full-stacktrace
  - cd samples/example && ./gradlew clean webResourceCompile --full-stacktrace && cd ../../

after_success:
  - ./gradlew coveralls --full-stacktrace

Disable JDK7 builds temporarily on Travis CI
Disable JDK7 builds temporarily on Travis CI

Seems not working on JDK7...
https://github.com/gradle/gradle/issues/5740

Download fails with this error:

```
Received fatal alert: protocol_version
```

and setting -Dhttps.protocols does not affect.