language: node_js
node_js:
  - "4.4.5"
before_install:
  - wget http://www.imagemagick.org/download/ImageMagick.tar.gz
  - tar xf ImageMagick.tar.gz
  - cd ImageMagick*
  - ./configure --prefix=/usr
  - make
  - sudo make install
  - sudo apt-get install -qq librsvg2-dev librsvg2-bin
install: npm install
before_script:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"
  - sleep 3 # give xvfb some time to start
  - npm start
script: npm test

language: node_js
node_js:
  - "lts/*"
before_install:
  - wget http://www.imagemagick.org/download/ImageMagick.tar.gz
  - tar xf ImageMagick.tar.gz
  - cd ImageMagick*
  - ./configure --prefix=/usr
  - make
  - sudo make install
  - sudo apt-get install -qq librsvg2-dev librsvg2-bin
install: npm install
before_script:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"
  - sleep 3 # give xvfb some time to start
  - npm start
script: npm test

Update Node.js version to latest LTS on Travis CI
Update Node.js version to latest LTS on Travis CI
