阿里的gulp-transport由于需要模块定义package.json,因此不是很适合由grunt转到使用gulp的用户,因此开发了一个gulp-seajs-transport来解决这个限制,并且定义了travis CI来做持续集成,配置如下
language: node_js
node_js:
- "0.10"
after_script: NODE_ENV=test istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage
PS:首先需要安装相关依赖
"devDependencies": {
"coveralls": "^2.11.1",
"istanbul": "^0.3.2",
"mocha": "^1.21.4",
}