language: node_js
node_js:
  - "iojs"
before_install:
  - "sudo apt-get install libcairo2-dev libjpeg8-dev libpango1.0-dev libgif-dev build-essential g++"
  - "npm install tibia-maps -g"
script:
  - "./release.sh && tibia-maps --from-data=./data --output-dir=./Automap && tibia-maps --from-maps=./Automap --output-dir=./data && git status && git diff-index --quiet HEAD --"
branches:
  only:
    - /^.*$/

language: node_js
node_js:
  - "iojs-v2.5.0"
before_install:
  - "sudo apt-get install libcairo2-dev libjpeg8-dev libpango1.0-dev libgif-dev build-essential g++"
  - "npm install tibia-maps -g"
script:
  - "./release.sh && tibia-maps --from-data=./data --output-dir=./Automap && tibia-maps --from-maps=./Automap --output-dir=./data && git status && git diff-index --quiet HEAD --"
branches:
  only:
    - /^.*$/

Use io.js v2 until node-canvas supports more recent versions
Use io.js v2 until node-canvas supports more recent versions

See https://github.com/Automattic/node-canvas/issues/606.
