paper.js/.travis.yml
Daniel Tseng bbe896cdab Build both node v7 & v8 on travis CI
Remove node v5 due to no LTS.
2017-06-03 16:15:52 +08:00

44 lines
1.4 KiB
YAML

language: node_js
# Follow https://github.com/nodejs/LTS to decide when to remove a version
node_js:
- stable
- '7'
- '6'
- '4'
sudo: false
env:
matrix:
- CXX=g++-4.9
global:
- secure: o1fJ/suqcL0aX6PiOmip602dAM6Q6O5oU/BDhSueUOnYknbzWfWGOdsoMun0UYhvvdcXU4sHGH+wm0VeXa2igaxryx36uMxPsXB3mO4sATo/QlWX/r3wLCg2CViXhykE5l2gP45OHh5DJgKWs51cwGLDZ9y9JHlXSP/xIGBNkMGVC7qvyhTfEb0EVvirn9b7Kt8fmD8KYgNDrsmcR3d42f4jitt4Di9LsRyOG+SCXZfI3u831tHo1sgZuGK2rxx2SdEclIblEUCkFHLp0HPjq1+032Cg5D7HNloSCPfoSwcY+rOWHubNXhmXgZHFeSkaVglkdWlDE3NiyjNlYwc4m9zqfCip8jw/jUeSfFVtruncEumGLLBxE/aMBQjAQLTq24juabm3qZNgrNCFeFo+XNyx2Oz1jllGve6Vuu8Qg0wFqE+qlZKnxNbu5/3IOIawOE1uhaOG8oSuvlpQuNrHFIMEfzh2UKPiUHbElUDyoTzHlrhQr7ZSPWPJax4uIPOTscpK4Yks7FBS4I0Vnuhw41f/bVR0kLE9jNAQoUpp47ma9O2Sw9fhOwEiopVrADzARUiy0eNeLx8F2F73L0wyPBOtEL1cfCr5oY+yZ5ZfDYb/L8/GIlbMnljYxVbXesmwd8RFi8X2HUNnEmusjih9oWazVuZpiFfUO0oeu15JTBg=
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- git-core
packages:
- g++-4.9
- git
- libcairo2-dev
- libpango1.0-dev
- libssl-dev
- libjpeg62-dev
- libgif-dev
cache:
directories:
- "~/.assets"
- "~/.nvm"
- node_modules
install:
- travis/install-assets.sh
before_script:
- travis/setup-git.sh
- npm set progress=false
- which gulp || npm install -g gulp-cli
- npm install
script:
- gulp jshint
- gulp minify
- gulp test
- gulp zip
- '[ "${TRAVIS_BRANCH}" = "develop" ] && [ "${TRAVIS_NODE_VERSION}" = "stable" ] && travis/deploy-prebuilt.sh || true'