sudo: required

language: node_js

node_js:
    - "4"
    - "5"
    - "6"
    - "7"
    - "8"

before_install:
  - sudo apt-get -qq update
  - sudo add-apt-repository --yes ppa:dhor/myway
  - sudo apt-get -qq update
  - sudo apt-get install graphicsmagick

install:
  - npm install

script:
  - npm run build
  - npm test
  - npm run preversion
