language: java
jdk:
  - oraclejdk8

language: java

# copy from wix-embedded-mysql project
before_install:
# os x - workaround for JAVA_HOME not set and mvn missing
# - if [ "$TRAVIS_OS_NAME" == "osx" ]; then export JAVA_HOME=$(/usr/libexec/java_home); fi
# linux - installing libaio1
 - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get update -qq && sudo apt-get install -y libaio1; fi
# linux - fixing hostname issue and jdk segfaulting on linux
 - sudo hostname "$(hostname | cut -c1-63)"
 - sed -e "s/^\\(127\\.0\\.0\\.1.*\\)/\\1 $(hostname | cut -c1-63)/" /etc/hosts | sudo tee /etc/hosts

matrix:
    include:
        - os: linux
          sudo: required
          jdk: oraclejdk8
#        - os: osx
#          language: java

Add fixes for running in Travis
Add fixes for running in Travis
