language: java
jdk:
- oraclejdk7

script:
- gradle build

deploy:
- provider: releases
  api_key: ${GITHUB_API_KEY}
  file_glob: true
  file:
    - ./build/libs/commons-configuration2-jackson-*.jar
  skip_cleanup: true
  on:
    repo: Virtlink/commons-configuration2-jackson
    branch: master
    tags: true
- provider: script
  script: gradle bintrayUpload
  skip_cleanup: true
  on:
    repo: Virtlink/commons-configuration2-jackson
    branch: master
    tags: true

language: java
jdk:
- oraclejdk8

script:
- gradle build

deploy:
- provider: releases
  api_key: ${GITHUB_API_KEY}
  file_glob: true
  file:
    - ./build/libs/commons-configuration2-jackson-*.jar
  skip_cleanup: true
  on:
    repo: Virtlink/commons-configuration2-jackson
    branch: master
    tags: true
- provider: script
  script: gradle bintrayUpload
  skip_cleanup: true
  on:
    repo: Virtlink/commons-configuration2-jackson
    branch: master
    tags: true

Move Travis to Oracle JDK 8
Move Travis to Oracle JDK 8
