language: java
install: ant clean download_checkstyle download_jars install
script: ant -Djava.awt.headless=true checkstyle test
jdk:
  - oraclejdk7
  - oraclejdk8

sudo: false
language: java

before_script:
  - test "x$RUN_CHECKSTYLE" != 'x' || ant -Djava.awt.headless=true download_jars install
  - test "x$RUN_CHECKSTYLE" != 'xtrue' || ant -Djava.awt.headless=true download_checkstyle

# skip default "install" command
install: true

matrix:
  include:
    - jdk: oraclejdk8
      env: RUN_CHECKSTYLE=true
      script: ant -Djava.awt.headless=true checkstyle
    - jdk: oraclejdk7
      script: ant -Djava.awt.headless=true test
    - jdk: oraclejdk8
      script: ant -Djava.awt.headless=true test

Move checkstyle to a separate Travis job
Move checkstyle to a separate Travis job

closes #175

git-svn-id: https://svn.apache.org/repos/asf/jmeter/trunk@1737586 13f79535-47bb-0310-9956-ffa450edef68

Former-commit-id: d63f4a6e0a7eae76c0ada5a92ad971f8dec31e76