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

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

before_install:
  # Required for Node.js v12 & older
  - npm install -g full-icu
  - export NODE_ICU_DATA=`node-full-icu-path 2>/dev/null`

script:
  - npm test

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

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

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

before_install:
  # Required for Node.js v12 & older
  - npm install -g full-icu
  - export NODE_ICU_DATA=`node-full-icu-path 2>/dev/null`

script:
  - npm test

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

Move testing baseline from Node.js 8 to Node.js 10
ci: Move testing baseline from Node.js 8 to Node.js 10

Transpilation targets are not updated at this time, but older
environments won't be tested in anymore.
