language: node_js
node_js: node
cache: npm
os:
  - linux
  - osx
branches:
  only:
    - master
script:
  - npm test
  - '[ "$TRAVIS_OS_NAME" != linux ] || npm run --silent verify-definitions -- $TRAVIS_COMMIT_RANGE'
notifications:
  email:
    on_success: never

language: node_js
node_js: node
cache: npm
os:
  - linux
  - osx
script:
  - npm test
  - '[ "$TRAVIS_OS_NAME" != linux ] || npm run --silent verify-definitions -- $TRAVIS_COMMIT_RANGE'
notifications:
  email:
    on_success: never

Simplify config and let run on all branches
Simplify config and let run on all branches
