language: java

jdk:
    - oraclejdk8
    - oraclejdk7

env:
  - SWIPL_VERSION="7.4.1" SWI_HOME_DIR="/usr/local/lib/swipl-$SWIPL_VERSION"

install:
    - sudo travis/swipl-install.sh $SWIPL_VERSION

before_cache:
    - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
    - rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
    directories:
        - $HOME/.gradle/caches/
        - $HOME/.gradle/wrapper/
language: java

jdk:
    - oraclejdk8
    - oraclejdk7

env:
  - SWIPL_VERSION="7.4.1" SWI_HOME_DIR="/usr/local/lib/swipl-$SWIPL_VERSION"

before_install:
    - travis/swipl-install.sh $SWIPL_VERSION

before_cache:
    - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
    - rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
    directories:
        - $HOME/.gradle/caches/
        - $HOME/.gradle/wrapper/
Test if sudo inhibits execution of build script
Test if sudo inhibits execution of build script
