language: node_js os: linux # Follow https://github.com/nodejs/LTS to decide when to remove a version node_js: # Stable version is temporarily disabled due to a bug in resemblejs package with # node v12 (https://github.com/orgs/paperjs/teams/contributors/discussions/12). # - stable # - 11 - 10 - 8 env: jobs: - 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' before_deploy: - npm --no-git-tag-version version 0.11.$(date +%Y%m%d%H%M%S) - git config --global user.email $(git log --pretty=format:"%ae" -n1) - git config --global user.name $(git log --pretty=format:"%an" -n1) deploy: - provider: npm node_js: 10 on: branch: develop skip_cleanup: true email: $NPM_EMAIL api_key: $NPM_TOKEN