finetune some paths
This commit is contained in:
parent
3e673e04b2
commit
e20bcec133
4
index.js
4
index.js
@ -202,13 +202,13 @@ var NpmtsTests;
|
||||
.pipe(plugins.g.istanbul.hookRequire());
|
||||
});
|
||||
plugins.gulp.task('mocha', function () {
|
||||
return plugins.gulp.src(['test/test.js'])
|
||||
return plugins.gulp.src(["./test/test.js"])
|
||||
.pipe(plugins.g.mocha())
|
||||
.pipe(plugins.g.istanbul.writeReports())
|
||||
.pipe(plugins.g.istanbul.enforceThresholds({ thresholds: { global: 30 } }));
|
||||
});
|
||||
plugins.gulp.task("coveralls", function () {
|
||||
return plugins.gulp.src('coverage/**/lcov.info')
|
||||
return plugins.gulp.src("./coverage/**/lcov.info")
|
||||
.pipe(plugins.g.if((process.env.TRAVIS && config.coveralls), plugins.g.coveralls()));
|
||||
});
|
||||
plugins.gulp.task("test", function () {
|
||||
|
@ -77,7 +77,7 @@
|
||||
</div><!-- /wrapper -->
|
||||
<div class='footer quiet pad2 space-top1 center small'>
|
||||
Code coverage
|
||||
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Tue Feb 09 2016 06:01:01 GMT+0100 (CET)
|
||||
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Tue Feb 09 2016 15:59:46 GMT+0100 (CET)
|
||||
</div>
|
||||
</div>
|
||||
<script src="../prettify.js"></script>
|
||||
|
@ -76,7 +76,7 @@ module.exports = testplugin;
|
||||
</div><!-- /wrapper -->
|
||||
<div class='footer quiet pad2 space-top1 center small'>
|
||||
Code coverage
|
||||
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Tue Feb 09 2016 06:01:01 GMT+0100 (CET)
|
||||
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Tue Feb 09 2016 15:59:46 GMT+0100 (CET)
|
||||
</div>
|
||||
</div>
|
||||
<script src="../prettify.js"></script>
|
||||
|
@ -77,7 +77,7 @@
|
||||
</div><!-- /wrapper -->
|
||||
<div class='footer quiet pad2 space-top1 center small'>
|
||||
Code coverage
|
||||
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Tue Feb 09 2016 06:01:01 GMT+0100 (CET)
|
||||
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Tue Feb 09 2016 15:59:46 GMT+0100 (CET)
|
||||
</div>
|
||||
</div>
|
||||
<script src="prettify.js"></script>
|
||||
|
@ -9,5 +9,5 @@
|
||||
"./subts2/",
|
||||
"./customdir"
|
||||
],
|
||||
"coveralls":"false"
|
||||
"coveralls":true
|
||||
}
|
@ -12,7 +12,7 @@ module NpmtsTests {
|
||||
});
|
||||
|
||||
plugins.gulp.task('mocha', function () {
|
||||
return plugins.gulp.src(['test/test.js'])
|
||||
return plugins.gulp.src(["./test/test.js"])
|
||||
.pipe(plugins.g.mocha())
|
||||
// Creating the reports after tests ran
|
||||
.pipe(plugins.g.istanbul.writeReports())
|
||||
@ -21,7 +21,7 @@ module NpmtsTests {
|
||||
});
|
||||
|
||||
plugins.gulp.task("coveralls",function(){
|
||||
return plugins.gulp.src('coverage/**/lcov.info')
|
||||
return plugins.gulp.src("./coverage/**/lcov.info")
|
||||
.pipe(plugins.g.if(
|
||||
(process.env.TRAVIS && config.coveralls),
|
||||
plugins.g.coveralls()
|
||||
|
Loading…
Reference in New Issue
Block a user