language: node_js
node_js:
    - "0.10"
    - "0.8"
after_script: NODE_ENV=test istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage

language: node_js
node_js:
    - "0.12"
    - "0.10"
addons:
    apt:
        packages:
            - libcairo2-dev
            - libjpeg8-dev
            - libpango1.0-dev
            - libgif-dev
            - build-essential
            - g++
after_script: NODE_ENV=test istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage

Install Cairo and other relevant dependencies for Canvas on Travis before running tests.
Install Cairo and other relevant dependencies for Canvas on Travis before running tests.
