language: node_js node_js: - "8" # safelist - only do branch build for "master" (keep doing PR builds for # every pr) branches: only: - master # Set sudo to false for "container-based" environment, a fast boot time # environment in which sudo commands are not available. sudo: false # By default, travis clones repositories to a depth of 50 commits, which is # only really useful if you are performing git operations. Please note that if # you use a depth of 1 and have a queue of jobs, Travis CI won’t build commits # that are in the queue when you push a new commit. git: depth: 2 script: - npm run lint - npm test - npm run coverage