language: java
jdk: oraclejdk8

notifications:
  irc:
    channels: chat.freenode.net#bitsquare
    template:
      - '%{message} (%{repository}#%{build_number}, %{duration})'
      - '%{repository}/%{branch} %{commit} %{author}: %{commit_message}'
      - '%{build_url}'
    on_success: change
    on_failure: always
    use_notice: true
    skip_join: true

language: java
jdk: oraclejdk8

install:
  - "sudo apt-get purge openjdk*"
  - "sudo add-apt-repository -y ppa:webupd8team/java"
  - "sudo apt-get update"
  - "sudo apt-get install oracle-java8-installer"

notifications:
  irc:
    channels: chat.freenode.net#bitsquare
    template:
      - '%{message} (%{repository}#%{build_number}, %{duration})'
      - '%{repository}/%{branch} %{commit} %{author}: %{commit_message}'
      - '%{build_url}'
    on_success: change
    on_failure: always
    use_notice: true
    skip_join: true

Work around outdated OracleJDK8 on Travis CI server
Work around outdated OracleJDK8 on Travis CI server

The Gradle JavaFX plugin requires Oracle JDK 8u20 or better. Travis CI
currently runs something older, and does not have a roadmap for
upgrading. This commit instructs the Travis CI VM to install JDK 8u20
via `apt` prior to actually beginning the build.

See #66
