language: java
sudo: false
script: ant -Divy.logging=default -Djava.security.egd=file:/dev/./urandom jar
jdk:
  - oraclejdk8

cache:
  directories:
    - $HOME/.ivy2

notifications:
  email: false

branches:
  only:
  - develop

language: java
sudo: required
dist: trusty

script: ant -Divy.logging=default test-no-reports

addons:
  apt:
    packages:
      - oracle-java8-installer
      - oracle-java8-unlimited-jce-policy
      - haveged

before_install:
  - sudo service haveged start

jdk:
  - oraclejdk8

cache:
  directories:
    - $HOME/.ivy2

notifications:
  email: false

branches:
  only:
  - develop

Update Travis to work with ant test - Install latest oracle8jdk - Install JCE - Install and Start haveged (because randomness was taking too long without it) - Change away from container based to allow sudo execution
Update Travis to work with ant test
 - Install latest oracle8jdk
 - Install JCE
 - Install and Start haveged (because randomness was taking too long
 without it)
 - Change away from container based to allow sudo execution
