language: java
jdk:
  - oraclejdk8
  - openjdk11
sudo: true
dist: precise
install: /bin/true
notifications:
  email:
    - github-awsforjava@amazon.com
script: mvn -q install

after_success:
    - bash <(curl -s https://codecov.io/bash) -F unittests

branches:
  only:
    - master

language: java
jdk:
  - openjdk8
  - openjdk11
sudo: true
dist: xenial
install: /bin/true
notifications:
  email:
    - github-awsforjava@amazon.com
script: mvn -q install

after_success:
    - bash <(curl -s https://codecov.io/bash) -F unittests

branches:
  only:
    - master

Use Xenial, OpenJDK 8 for Travis builds
Use Xenial, OpenJDK 8 for Travis builds

 - OracleJDK 8 doesn't seem to work on Xenial, and it's not necessary anyway
 - Fixes the strange compile error for JDK 11 on Precise
