language: java

jdk:
  - oraclejdk8

addons:
  apt:
    packages:
      - oracle-java8-installer

env:
  global:
    - MAVEN_OPTS="-Xmx256M"

sudo: false

cache:
  directories:
    - $HOME/.m2/repository/io
    - $HOME/.m2/repository/it
    - $HOME/.m2/repository/org
    - $HOME/.m2/repository/mysql

install: mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V -q -T 2

script: mvn test -Dair.check.skip-dependency=true
notifications:
  slack:
    secure: V5eyoGShxFoCcYJcp858vf/T6gC9KeMxL0C1EElcpZRcKBrIVZzvhek3HLHxZOxlghqnvNVsyDtU3u5orkEaAXeXj5c2dN+4XBsAB9oeN5MtQ0Z3VLAhZDqKIW1LzcXrq4DpzM0PkGhjfjum/P94/qFYk0UckPtB6a341AuYRo8=

language: java

jdk:
  - oraclejdk8

addons:
  apt:
    packages:
      - oracle-java8-installer

env:
  global:
    - MAVEN_OPTS="-Xmx256M"
  matrix:
    - TEST_MODULES=!presto-tests,!presto-kafka,!presto-redis,!presto-cassandra,!presto-raptor,!presto-postgresql,!presto-mysql
    - TEST_MODULES=presto-tests
    - TEST_MODULES=presto-raptor,presto-redis,presto-cassandra,presto-kafka,presto-postgresql,presto-mysql

sudo: false

cache:
  directories:
    - $HOME/.m2/repository/io
    - $HOME/.m2/repository/it
    - $HOME/.m2/repository/org
    - $HOME/.m2/repository/mysql

install: mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V -q -T 2

script: mvn test -Dair.check.skip-dependency=true -pl $TEST_MODULES
notifications:
  slack:
    secure: V5eyoGShxFoCcYJcp858vf/T6gC9KeMxL0C1EElcpZRcKBrIVZzvhek3HLHxZOxlghqnvNVsyDtU3u5orkEaAXeXj5c2dN+4XBsAB9oeN5MtQ0Z3VLAhZDqKIW1LzcXrq4DpzM0PkGhjfjum/P94/qFYk0UckPtB6a341AuYRo8=

Speed up Travis tests and avoid log size limit
Speed up Travis tests and avoid log size limit
