Permalink
Fetching contributors…
Cannot retrieve contributors at this time
36 lines (31 sloc) 914 Bytes
language: node_js
node_js:
- '4.4.2' # When you update this, also update deploy.on.node further down, to tell who is the deployer build
- '0.12'
- '0.10' # this should be quoted; otherwise, 0.10 would not work
sudo: false
matrix:
allow_failures:
- node_js: 0.1
- node_js: 0.12
cache:
directories:
- node_modules
- website/node_modules
env:
global:
- secure: "c4unKozz+OKffwUmypDb+E8qcR9JM7tb7fQ75jidOiz57HM5hmLVJokj017GrUeoPAw3nSE6l0O9Yvyf5K4QNguZ4IXlrtTO1repPLHyUCX3Hoo3PhXDo6g6ySpt8tMpP3dX6r7JUn5YHjxASfOI8VJTmcnxyNkVH66H6VMOA2I="
script:
- npm run lint
- npm run build
- npm run test
- npm run website:install
# Travis docs: Note that pull request builds skip deployment step altogether.
# https://docs.travis-ci.com/user/deployment/#Conditional-Releases-with-on
deploy:
skip_cleanup: true
provider: script
script: scripts/travis-deploy.sh
on:
branch: master
node: '4.4.2'