
# Build matrix
language: node_js
matrix:
  include:

    # Run linter once
    - node_js: '6'
      env: LINT=true

    # Run tests
    - node_js: '4'
    - node_js: '5'
    - node_js: '6'

# Restrict builds on branches
branches:
  only:
    - master
    - /^\d+\.\d+\.\d+$/

# Build script
script:
  - 'if [ $LINT ]; then make lint; fi'
  - 'if [ ! $LINT ]; then make test; fi'


# Build matrix
language: node_js
matrix:
  include:

    # Run linter only, just once
    - node_js: '6'
      env: LINT=true

    # Run tests
    - node_js: 'node'
    - node_js: '6'
    - node_js: '5'
    - node_js: '4'

# Restrict builds on branches
branches:
  only:
    - master
    - /^\d+\.\d+\.\d+$/

# Build script
script:
  - 'if [ $LINT ]; then make lint; fi'
  - 'if [ ! $LINT ]; then make test; fi'

Change the test matrix so it follows our standards
Change the test matrix so it follows our standards
