dependencies:
  pre:
    - "bower install"
  cache_directories:
    - "bower_components"    # relative to the build directory

test:
  pre:
    - ./node_modules/ember-cli/bin/ember server --port 4203:
        background: true
    - sleep 5
  override:
    - ./node_modules/ember-cli/bin/ember test

machine:
  pre:
    - curl https://raw.githubusercontent.com/creationix/nvm/v0.23.3/install.sh | bash
  node:
    version: 0.12

dependencies:
  post:
    - "./node_modules/ember-cli/node_modules/bower/bin/bower install"
  cache_directories:
    - "bower_components"    # relative to the build directory

test:
  pre:
    - ./node_modules/ember-cli/bin/ember server --port 4203:
        background: true
    - sleep 5
  override:
    - ./node_modules/ember-cli/bin/ember test

Switch CircleCI to use node 0.12
Switch CircleCI to use node 0.12
