language: node_js
notifications:
  email: false
node_js:
  - '8'
  - '6'
  - '4'
  - '0.12'
  - '0.10'
  - '10'
matrix:
  include:
    - node_js: "8"
      env: TEST_SUITE=lint
env:
  - TEST_SUITE=unit
before_script:
  - npm prune
script:
  - npm run-script $TEST_SUITE
after_success:
  - npm run semantic-release
branches:
  except:
    - /^v\d+\.\d+\.\d+$/
