hexo-yam/.travis.yml

17 lines
390 B
YAML
Raw Normal View History

2018-09-27 06:46:45 +00:00
language: node_js
node_js:
- "node" # latest stable Node.js release
cache:
directories:
- "node_modules" # cache the modules for faster build
script:
- npm install -g snyk hexo-cli
- npm install # install node modules
- snyk auth $SNYK_TOKEN
- snyk test # Check node modules for vulnerability
branches:
only:
- master # this job will affect only the 'master' branch