sudo: required
language: java
jdk:
  - openjdk6
  - openjdk7
  - oraclejdk7
  - oraclejdk8
before_install:
    - wget -O stunnel.tar.gz https://www.stunnel.org/downloads/stunnel-5.29.tar.gz
    - tar -xvzf stunnel.tar.gz
    - cd ./stunnel-5.29 && ./configure && make && sudo make install && cd ..
install:
  - make travis-install
script: make test
cache:
  directories:
    - $HOME/.m2

sudo: required
language: java
jdk:
  - openjdk7
  - oraclejdk7
  - oraclejdk8
before_install:
    - wget -O stunnel.tar.gz https://www.stunnel.org/downloads/stunnel-5.29.tar.gz
    - tar -xvzf stunnel.tar.gz
    - cd ./stunnel-5.29 && ./configure && make && sudo make install && cd ..
install:
  - make travis-install
script: make test
cache:
  directories:
    - $HOME/.m2

Remove JDK6 tests as it won't be supported from 3.0 onwards
Remove JDK6 tests as it won't be supported from 3.0 onwards
