language: java
jdk:
  - oraclejdk7

before_install:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"

before_script:
  - mvn package -Pbuild-distr -B

script:
  - mvn verify -Pusing-packaged-distr -B

after_failure:
  - sh -e "cat /home/travis/build/NFLabs/zeppelin/logs/zeppelin*.log"
  - sh -e "cat /home/travis/build/NFLabs/zeppelin/logs/zeppelin*.out"

language: java
jdk:
  - oraclejdk7

before_install:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"

before_script:
  - mvn package -Pbuild-distr -B

script:
  - mvn verify -Pusing-packaged-distr -B

after_failure:
  - cat zeppelin-distribution/target/zeppelin-*-SNAPSHOT/zeppelin-*-SNAPSHOT/logs/zeppelin*.log
  - cat zeppelin-distribution/target/zeppelin-*-SNAPSHOT/zeppelin-*-SNAPSHOT/logs/zeppelin*.out

Make Travis after_failure printing log of distirubtion package
Make Travis after_failure printing log of distirubtion package
