language:
    node_js
node_js:
    - 0.8
before_script:
    # install dependencies
    - npm install -g node-qunit-phantomjs
script:
    # We want to gate on passing tests and a successful build
    - node-qunit-phantomjs test/index.html 10

language:
    node_js
node_js:
    - 0.8
before_script:
    # install dependencies
    - npm update -g npm
    - npm install -g node-qunit-phantomjs
script:
    # We want to gate on passing tests and a successful build
    - node-qunit-phantomjs test/index.html 10

Upgrade npm in Travis `before_script`
Upgrade npm in Travis `before_script`
