language: java
jdk:
- oraclejdk8
services:
- cassandra
notifications:
  irc:
    channels:
      - "chat.freenode.net#rhq.next"
    on_success: change
env:
  global:
    secure: mDUhAf474mlads7ZEAf2mWecQxZWgdfcjiBn6+yif0hJoWKQs38HU+jm4EE8UMgGvdn7avIYvdrxKJ9MnjWpncaXJ0366ZYbxP+7pybMk/SA80yr3dCg5gSHosJ9UqMvGga1bzgDeqF9UppKt0kqxgSLLwKAFoY+x70Pp0rIwQg=
addons:
  coverity_scan:
    project:
      name: rhq-project/rhq-metrics
      description: Build submitted via Travis CI
    notification_email: hwr@pilhuhn.de
    build_command_prepend: mvn clean
    build_command: mvn -DskipTests=true compile
    branch_pattern: coverity_scan
install: 'mvn install -DskipTests=true -B'
script: 'mvn verify -Dwildfly.logging.console.level=DEBUG -B'

language: java
jdk:
- oraclejdk8
services:
- cassandra
notifications:
  irc:
    channels:
      - "chat.freenode.net#rhq.next"
    on_success: change
env:
  global:
    secure: mDUhAf474mlads7ZEAf2mWecQxZWgdfcjiBn6+yif0hJoWKQs38HU+jm4EE8UMgGvdn7avIYvdrxKJ9MnjWpncaXJ0366ZYbxP+7pybMk/SA80yr3dCg5gSHosJ9UqMvGga1bzgDeqF9UppKt0kqxgSLLwKAFoY+x70Pp0rIwQg=
addons:
  coverity_scan:
    project:
      name: rhq-project/rhq-metrics
      description: Build submitted via Travis CI
    notification_email: hwr@pilhuhn.de
    build_command_prepend: mvn clean
    build_command: mvn -DskipTests=true -Dmaven.test.skip=true compile
    branch_pattern: coverity_scan
install: 'mvn install -DskipTests=true -Dmaven.test.skip=true -B'
script: 'mvn verify -Dwildfly.logging.console.level=DEBUG -B'

Fix Travis build to skip building test code if the tests are deactivated.
Fix Travis build to skip building test code if the tests are deactivated.
