# Warning: This file is automatically synced from https://github.com/ipfs/ci-sync so if you want to change it, please change it there and ask someone to sync all repositories.
machine:
  node:
    version: 8 # LTS

test:
  pre:
    - npm run lint
  post:
    - make test
    - npm run coverage -- --upload --providers coveralls

dependencies:
  pre:
    - google-chrome --version
    - curl -L -o google-chrome.deb https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
    - sudo dpkg -i google-chrome.deb || true
    - sudo apt-get update
    - sudo apt-get install -f
    - sudo apt-get install --only-upgrade lsb-base
    - sudo dpkg -i google-chrome.deb
    - google-chrome --version

# Warning: This file is automatically synced from https://github.com/ipfs/ci-sync so if you want to change it, please change it there and ask someone to sync all repositories.
machine:
  node:
    version: 9

test:
  pre:
    - npm run lint
  post:
    - make test
    - npm run coverage -- --upload --providers coveralls

dependencies:
  pre:
    - google-chrome --version
    - curl -L -o google-chrome.deb https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
    - sudo dpkg -i google-chrome.deb || true
    - sudo apt-get update
    - sudo apt-get install -f
    - sudo apt-get install --only-upgrade lsb-base
    - sudo dpkg -i google-chrome.deb
    - google-chrome --version

Use a version of node with module version 59
chore: Use a version of node with module version 59
