language: node_js
node_js:
  # FIXME: enable testing on nodejs 6 again (it's too slow right now, getting timeouts)
  # - 6
  - 8
  - 10

script: npm run test:src

jobs:
  include:
    - stage: other
      script: npm run lint
      node_js: lts/*
      name: Lint
# FIXME: enable browser testing again
#    - script: npm run test:browser
#      node_js: lts/*
#      name: Local Browser Test
#    - script: 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then npm run test:browserstack; else true; fi'
#      node_js: lts/*
#      name: Browserstack Test
#    - script: npm run build && npm run test:dist
#      node_js: lts/*
#      name: Bundling Test

git:
  depth: 5

cache:
  directories:
    - node_modules

language: node_js
node_js:
  # FIXME: enable testing on nodejs 6 and 8 again (it's too slow right now, getting timeouts)
  # - 6
  # - 8
  - 10

script: npm run test:src

jobs:
  include:
    - stage: other
      script: npm run lint
      node_js: lts/*
      name: Lint
# FIXME: enable browser testing again
#    - script: npm run test:browser
#      node_js: lts/*
#      name: Local Browser Test
#    - script: 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then npm run test:browserstack; else true; fi'
#      node_js: lts/*
#      name: Browserstack Test
#    - script: npm run build && npm run test:dist
#      node_js: lts/*
#      name: Bundling Test

git:
  depth: 5

cache:
  directories:
    - node_modules

Disable node 8 testing for now (too slow)
Disable node 8 testing for now (too slow)
