if: NOT (commit_message =~ /^\[docs\]/)

branches:
  except:
  - new-docs

addons:
 chrome:  stable
 firefox: latest
 apt:
  packages:
   - dbus

language: node_js
matrix:
 include:
  - node_js: "6"
    env: GULP_TASK="test-server"
  - node_js: "stable"
    env: GULP_TASK="test-server"
  - node_js: "stable"
    env: GULP_TASK="test-client-travis"
  - node_js: "stable"
    env: GULP_TASK="test-client-travis-mobile"
  - node_js: "stable"
    env: GULP_TASK="test-functional-local-headless-chrome"
  - node_js: "stable"
    env: GULP_TASK="test-functional-local-headless-firefox"
 fast_finish: true

cache:
  directories:
    - $HOME/.npm

install: travis_retry npm install

branches:
  except:
    - /^build-bot-temp-.*$/

notifications:
 email: false

if: NOT (commit_message =~ /^\[docs\]/ OR branch = 'new-docs')

addons:
 chrome:  stable
 firefox: latest
 apt:
  packages:
   - dbus

language: node_js
matrix:
 include:
  - node_js: "6"
    env: GULP_TASK="test-server"
  - node_js: "stable"
    env: GULP_TASK="test-server"
  - node_js: "stable"
    env: GULP_TASK="test-client-travis"
  - node_js: "stable"
    env: GULP_TASK="test-client-travis-mobile"
  - node_js: "stable"
    env: GULP_TASK="test-functional-local-headless-chrome"
  - node_js: "stable"
    env: GULP_TASK="test-functional-local-headless-firefox"
 fast_finish: true

cache:
  directories:
    - $HOME/.npm

install: travis_retry npm install

branches:
  except:
    - /^build-bot-temp-.*$/

notifications:
 email: false

Disable tests on Travis for new-docs
Disable tests on Travis for new-docs