[Javascript] Limit Built Branches on Travis
Posted Answer1215
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了[Javascript] Limit Built Branches on Travis相关的知识,希望对你有一定的参考价值。
By default, Travis will build all branches, tags, and Pull Requests. Because we‘re building our master branch before we release, we don‘t need Travis building our releases. Also, we don‘t care to have Travis build all the branches. So we‘re going to limit Travis to only build our master branch and Pull Requests by configuring travis via our .travis.yml
file.
sudo: false language: node_js cache: directories: - node_modules branches: only: - master notifications: email: false node_js: - iojs before_install: - npm i -g [email protected]^2.0.0 before_script: - npm prune script: - npm run test:single - npm run check-coverage - npm run build after_success: - npm run report-coverage - npm run semantic-release
以上是关于[Javascript] Limit Built Branches on Travis的主要内容,如果未能解决你的问题,请参考以下文章
Google Maps API v3 中的 OVER_QUERY_LIMIT:如何在 Javascript 中暂停/延迟以减慢速度?
node 打包内存溢出 FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript he