machine:
  pre:
    - rm -fr ~/node_modules
  post:
    - rm -fr ~/node_modules
dependencies:
  cache_directories:
    - ~/.cache/yarn
  override:
    - yarn install
    - yarn test
  pre:
    - nvm install 6.3.1 && nvm use 6.3.1 && nvm alias default 6.3.1
    - npm install -g bower grunt-cli gulp-cli yarn@^1.3.2

machine:
  pre:
    - rm -fr ~/node_modules
  post:
    - rm -fr ~/node_modules
dependencies:
  cache_directories:
    - ~/.cache/yarn
  override:
    - yarn install
    - yarn test
  pre:
    - nvm install 6.3.1 && nvm use 6.3.1 && nvm alias default 6.3.1
    - npm install -g bower grunt-cli gulp-cli yarn@^1.3.2
    - sudo apt-get update -qq
    - sudo apt-get install -y -qq graphicsmagick

Add system deps to Circle config
Add system deps to Circle config
