UNPKG

image-to-slices

Version:

Node.js module for converting image into slices with the given reference lines. Backed by Slices and image-clipper.

36 lines (32 loc) 640 B
language: node_js node_js: - "0.12" - "0.11" - "0.10" - "4.2.0" - "5.1.0" matrix: allow_failures: - node_js: "0.10" branches: only: - master # Use `apt` from `node-canvas` # https://github.com/Automattic/node-canvas/blob/v1.3.0/.travis.yml#L14-L19 addons: apt: sources: - ubuntu-toolchain-r-test packages: - libcairo2-dev - libjpeg8-dev - libpango1.0-dev - libgif-dev - build-essential - g++-4.8 env: - CXX=g++-4.8 sudo: false before_install: # Upgrade `npm` to avoid semver issues - if [[ $TRAVIS_NODE_VERSION == 0.10 ]]; then npm install -g npm@2.3.0; fi