language: node_js
node_js:
  - "0.10"
addons:
  hosts:
    - local.generatortest.com
install:
  - gem install bundler
  - npm install -g bower
before_script:
  - echo "Running from ${PWD}"
  - echo "Install NPM dependencies"
  - npm install
  - echo "Mock test project"
  - "${PWD}/test/bin/mock"
  - echo "Move mock project to /vagrant"
  - sudo mv "${PWD}/test/temp" /vagrant
  - echo "Provision server"
  - sudo /vagrant/bin/provision

language: node_js
node_js:
  - "0.10"
addons:
  hosts:
    - local.generatortest.com
before_install:
  - rvm use 2.0.0
  - gem install bundler
  - npm install -g bower
before_script:
  - echo "Running from ${PWD}"
  - echo "Install NPM dependencies"
  - npm install
  - echo "Mock test project"
  - "${PWD}/test/bin/mock"
  - echo "Move mock project to /vagrant"
  - sudo mv "${PWD}/test/temp" /vagrant
  - echo "Provision server"
  - sudo /vagrant/bin/provision

Switch to before_install & rvm
Switch to before_install & rvm
