mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2024-12-29 09:22:22 -05:00
48 lines
1.7 KiB
YAML
48 lines
1.7 KiB
YAML
language: node_js
|
|
# Follow https://github.com/nodejs/LTS to decide when to remove a version
|
|
node_js:
|
|
- stable
|
|
- 8
|
|
# 6.13 and 6.14 causing unreasonable errors in SymbolDefinition.initialize.
|
|
# https://travis-ci.org/paperjs/paper.js/jobs/434854796
|
|
# To avoid these versions, we specify version to 6.12 as temporary solution.
|
|
# See https://github.com/paperjs/paper.js/issues/1523
|
|
- 6.12
|
|
- 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'
|