machine:
  node:
    version: 8.1.4
  services:
    - docker

dependencies:
  override:
    - if [ ! -f $HOME/.meteor/meteor ]; then curl https://install.meteor.com | sh; fi
    - sudo ln -s $HOME/.meteor/meteor /usr/bin/meteor
  cache_directories:
    - ../.meteor

test:
  override:
    - cd tests && bash run_tests.sh

machine:
  node:
    version: 8.1.4
  services:
    - docker

dependencies:
  pre:
    - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
    - sudo apt-get update
    - sudo apt-get install -y libstdc++-4.9-dev
  override:
    - if [ ! -f $HOME/.meteor/meteor ]; then curl https://install.meteor.com | sh; fi
    - sudo ln -s $HOME/.meteor/meteor /usr/bin/meteor
  cache_directories:
    - ../.meteor

test:
  override:
    - cd tests && bash run_tests.sh

Update libstdc++ to 4.9-dev for newer node-gyp on Node.js v8.
Update libstdc++ to 4.9-dev for newer node-gyp on Node.js v8.
