language: node_js
node_js:
  - 'node'
  - 'lts/*'
  - '6'

addons:
  browserstack:
    username: eemeliaro2
    access_key:
      secure: 'Vb1k4A+1vG1Vk3XxQDOvyt6bEzraxZIQTsYlLxTtNX7sf/g6r1Sf7DjN4+F4Hp6VnckAOTJce6L2cUba3XDeNylrtdQmgCw6mtHR5qguokVaN4r800rNgtrBabBI9RhSXsShjJPM8zBHrNF0jVZ/nSh6w6jiHuh2tDqmQjsuaNc='

before_script:
  - npm run prepare # not automatic on npm <4

script:
  - npm test

jobs:
  include:
    - stage: ESLint & BrowserStack
      node_js: node
      script:
        - npm run build
        - npm run lint
        - npm run test:browserstack

language: node_js
node_js:
  - 'node'
  - 'lts/*'
  - '8'

addons:
  browserstack:
    username: eemeliaro2
    access_key:
      secure: 'Vb1k4A+1vG1Vk3XxQDOvyt6bEzraxZIQTsYlLxTtNX7sf/g6r1Sf7DjN4+F4Hp6VnckAOTJce6L2cUba3XDeNylrtdQmgCw6mtHR5qguokVaN4r800rNgtrBabBI9RhSXsShjJPM8zBHrNF0jVZ/nSh6w6jiHuh2tDqmQjsuaNc='

script:
  - npm test

jobs:
  include:
    - stage: ESLint & BrowserStack
      node_js: node
      script:
        - npm run build
        - npm run lint
        - npm run test:browserstack

Update Travis config, moving baseline to Node.js 8
test(ci): Update Travis config, moving baseline to Node.js 8
