language: node_js
node_js:
  - "0.10"
  - "0.12"
before_install: "npm install -g npm && npm cache clean"
script: "npm run-script travis"

language: node_js
node_js:
  - "0.10"
  - "0.12"
before_install: "sudo apt-get update && sudo apt-get install -y pngcrush && npm install -g npm && npm cache clean"
script: "npm run-script travis"

Install pngcrush in the before_install hook.
Travis: Install pngcrush in the before_install hook.
