#权限 sudo: true #指定运行环境 language: node_js #制定node版本 node_js: - "5" script: - npm test #指定分支,只有指定的分支提交时才会运行脚本 branches: only: - master