language: node_js
node_js:
  - 0.6
install: npm install --save-dev
before_install:
 - sudo apt-get update -qq
 - sudo apt-get install -qq libopenobex1-dev libobexftp0-dev bluetooth libpam0g-dev libcairo2-dev libjpeg8-dev libgif-dev libavahi-compat-libdnssd-dev libgnome-keyring-dev g++ libssl-dev
 - npm i -g grunt-cli jasmine-node
after_failure: cat npm-debug.log

language: node_js
node_js:
  - 0.8
install: npm install --save-dev
before_install:
 - sudo apt-get update -qq
 - sudo apt-get install -qq libopenobex1-dev libobexftp0-dev bluetooth libpam0g-dev libcairo2-dev libjpeg8-dev libgif-dev libavahi-compat-libdnssd-dev libgnome-keyring-dev g++ libssl-dev
 - npm i -g grunt-cli jasmine-node
 - mkdir ./tmp_node_modules
 - mv ./node_modules/*.js ./tmp_node_modules/
before_script:
 - mv ./tmp_node_modules/* ./node_modules/
 - rm -rf ./tmp_node_modules/
after_failure: cat npm-debug.log

Change Travis CI to use node v0.8 and fix dependency issues
Change Travis CI to use node v0.8 and fix dependency issues

Travis will now temporarily move the offending node_modules
files (e.g., expat.js) before installation.

Jira issue: WP-793
