git:
  depth: 10
sudo: false
language: node_js
cache:
  directories:
  - node_modules
node_js:
- '6'
- '5'
- '4'
- '0.12'
script: 
  - 'if [ -n "${LINT-}" ]; then make lint ; fi'
  - 'if [ -z "${LINT-}" ]; then make test-ci ; fi'
  - 'if [ -n "${FLOW-}" ]; then make flow ; fi'

matrix:
  fast_finish: true
  include:
    - node_js: "node"
      env:
        - LINT: true
        - FLOW: true
      
notifications:
  on_success: change
  on_failure: always
  slack:
    rooms:
      # Generate with
      #     travis encrypt "babeljs:<token>#activity" --add notifications.slack.rooms
      # where <token> is from the Slack integration settings.
      secure: SrwPKRe2AiNAKRo/+2yW/x4zxbWf2FBXuBuuPkdTJVTpWe++Jin1lXYJWTKP1a1i/IbmhffBO9YZcUFbeuXJpRM083vO8VYpyuBMQRqWD+Z3o+ttPlHGOJgnj0nkIcGRk6k7PpyHNnIkixfEJDvbbg9lN1Jswb3xkL8iYIHpuFE=

git:
  depth: 10
sudo: false
language: node_js
cache:
  directories:
  - node_modules
node_js:
- '6'
- '5'
- '4'
script: 
  - 'if [ -n "${LINT-}" ]; then make lint ; fi'
  - 'if [ -z "${LINT-}" ]; then make test-ci ; fi'
  - 'if [ -n "${FLOW-}" ]; then make flow ; fi'

matrix:
  fast_finish: true
  include:
    - node_js: "node"
      env:
        - LINT: true
        - FLOW: true
      
notifications:
  on_success: change
  on_failure: always
  slack:
    rooms:
      # Generate with
      #     travis encrypt "babeljs:<token>#activity" --add notifications.slack.rooms
      # where <token> is from the Slack integration settings.
      secure: SrwPKRe2AiNAKRo/+2yW/x4zxbWf2FBXuBuuPkdTJVTpWe++Jin1lXYJWTKP1a1i/IbmhffBO9YZcUFbeuXJpRM083vO8VYpyuBMQRqWD+Z3o+ttPlHGOJgnj0nkIcGRk6k7PpyHNnIkixfEJDvbbg9lN1Jswb3xkL8iYIHpuFE=

Drop support for Node 0.12 :skull:
Drop support for Node 0.12 :skull: