language: java
jdk:
- oraclejdk8
node_js:
- '0.10'
git:
  submodules: false
env:
  global:
  - GRADLE_OPTS="-Xmx1024m -Xms1024m"
  - TERM=dumb
script:
- 'if [ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ "$TRAVIS_BRANCH" = "master" ]; then ./gradlew deploy; else ./gradlew check; fi'
sudo: false
before_cache:
  - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
  directories:
    - $HOME/.gradle/caches/
    - $HOME/.gradle/wrapper/
notifications:
  slack:
    secure: fVnY1ZQQmzIEKBZJtfDTChYDKsp1JhoCWU1pNDE9aE92h4VJLvn/keGb88uROyMO6REIePAOZ+Qi3gH5uah1mVu8jaA0QGlhVG8dzXvbOGQxOnydG61FUNCKf7cL6dSqKdGEPDd/0FoQUKtKePxIZ5eKyS0kWOmto4rATo7gL30=

language: java
jdk:
- oraclejdk8
node_js:
- "8"
git:
  submodules: false
env:
  global:
  - GRADLE_OPTS="-Xmx1024m -Xms1024m"
  - TERM=dumb
script:
- 'if [ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ "$TRAVIS_BRANCH" = "master" ]; then ./gradlew deploy; else ./gradlew check; fi'
sudo: false
before_cache:
  - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
  directories:
    - $HOME/.gradle/caches/
    - $HOME/.gradle/wrapper/
notifications:
  slack:
    secure: fVnY1ZQQmzIEKBZJtfDTChYDKsp1JhoCWU1pNDE9aE92h4VJLvn/keGb88uROyMO6REIePAOZ+Qi3gH5uah1mVu8jaA0QGlhVG8dzXvbOGQxOnydG61FUNCKf7cL6dSqKdGEPDd/0FoQUKtKePxIZ5eKyS0kWOmto4rATo7gL30=

Build on latest Node.js version on Travis
Build on latest Node.js version on Travis
