2015-12-01 23:42:28 -05:00
|
|
|
language: node_js
|
2016-12-31 04:48:19 -05:00
|
|
|
# Follow https://github.com/nodejs/LTS to decide when to remove a version
|
2015-12-01 23:42:28 -05:00
|
|
|
node_js:
|
2018-11-04 06:31:06 -05:00
|
|
|
# Stable version is temporarily disabled due to a bug in resemblejs package with
|
|
|
|
# node v11 (https://github.com/orgs/paperjs/teams/contributors/discussions/8).
|
|
|
|
# - stable
|
2018-10-24 06:31:20 -04:00
|
|
|
- 10
|
2018-09-28 20:15:55 -04:00
|
|
|
- 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
|
2016-01-18 04:02:36 -05:00
|
|
|
sudo: false
|
2016-01-18 03:58:37 -05:00
|
|
|
env:
|
2016-01-29 20:56:05 -05:00
|
|
|
matrix:
|
2016-02-12 14:09:41 -05:00
|
|
|
- CXX=g++-4.9
|
2016-01-29 20:56:05 -05:00
|
|
|
global:
|
2017-04-20 12:16:21 -04:00
|
|
|
- secure: o1fJ/suqcL0aX6PiOmip602dAM6Q6O5oU/BDhSueUOnYknbzWfWGOdsoMun0UYhvvdcXU4sHGH+wm0VeXa2igaxryx36uMxPsXB3mO4sATo/QlWX/r3wLCg2CViXhykE5l2gP45OHh5DJgKWs51cwGLDZ9y9JHlXSP/xIGBNkMGVC7qvyhTfEb0EVvirn9b7Kt8fmD8KYgNDrsmcR3d42f4jitt4Di9LsRyOG+SCXZfI3u831tHo1sgZuGK2rxx2SdEclIblEUCkFHLp0HPjq1+032Cg5D7HNloSCPfoSwcY+rOWHubNXhmXgZHFeSkaVglkdWlDE3NiyjNlYwc4m9zqfCip8jw/jUeSfFVtruncEumGLLBxE/aMBQjAQLTq24juabm3qZNgrNCFeFo+XNyx2Oz1jllGve6Vuu8Qg0wFqE+qlZKnxNbu5/3IOIawOE1uhaOG8oSuvlpQuNrHFIMEfzh2UKPiUHbElUDyoTzHlrhQr7ZSPWPJax4uIPOTscpK4Yks7FBS4I0Vnuhw41f/bVR0kLE9jNAQoUpp47ma9O2Sw9fhOwEiopVrADzARUiy0eNeLx8F2F73L0wyPBOtEL1cfCr5oY+yZ5ZfDYb/L8/GIlbMnljYxVbXesmwd8RFi8X2HUNnEmusjih9oWazVuZpiFfUO0oeu15JTBg=
|
2016-01-18 03:58:37 -05:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
2016-01-29 20:56:05 -05:00
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
- git-core
|
2016-01-18 03:58:37 -05:00
|
|
|
packages:
|
2016-02-12 14:09:41 -05:00
|
|
|
- g++-4.9
|
2016-01-29 20:56:05 -05:00
|
|
|
- git
|
|
|
|
- libcairo2-dev
|
|
|
|
- libpango1.0-dev
|
|
|
|
- libssl-dev
|
|
|
|
- libjpeg62-dev
|
|
|
|
- libgif-dev
|
|
|
|
cache:
|
|
|
|
directories:
|
2017-04-20 12:16:21 -04:00
|
|
|
- "~/.assets"
|
|
|
|
- "~/.nvm"
|
2016-01-29 20:56:05 -05:00
|
|
|
- node_modules
|
|
|
|
install:
|
|
|
|
- travis/install-assets.sh
|
2016-01-28 11:37:54 -05:00
|
|
|
before_script:
|
2016-01-29 20:56:05 -05:00
|
|
|
- travis/setup-git.sh
|
|
|
|
- npm set progress=false
|
2016-09-20 17:07:38 -04:00
|
|
|
- which gulp || npm install -g gulp-cli
|
2016-01-29 20:56:05 -05:00
|
|
|
- npm install
|
2016-01-18 04:08:53 -05:00
|
|
|
script:
|
2016-01-29 20:56:05 -05:00
|
|
|
- gulp jshint
|
|
|
|
- gulp minify
|
|
|
|
- gulp test
|
2016-07-09 13:48:02 -04:00
|
|
|
- gulp zip
|
2017-04-21 01:16:11 -04:00
|
|
|
- '[ "${TRAVIS_BRANCH}" = "develop" ] && [ "${TRAVIS_NODE_VERSION}" = "stable" ] && travis/deploy-prebuilt.sh || true'
|