Permalink
Browse files

Added coveralls

  • Loading branch information...
1 parent 5a9b3c5 commit aff6885c248e3027d6b74daf9ecb7612ca1a8bd6 @wieringen committed Jan 19, 2015
Showing with 9 additions and 10 deletions.
  1. +1 −1 .travis.yml
  2. +6 −8 Gruntfile.coffee
  3. +1 −0 package.json
  4. +1 −1 test/conf/karma-ci.js
View
@@ -9,4 +9,4 @@ before_script:
script:
- grunt ci
after_script:
-- cat ./dist/coverage/**/lcov.info | ./node_modules/coveralls/bin/coveralls.js
+- cat ./dist/reports/coverage/**/lcov.info | ./node_modules/coveralls/bin/coveralls.js
View
@@ -151,13 +151,10 @@ module.exports = ( grunt ) ->
grunt.loadNpmTasks "grunt-karma"
grunt.loadNpmTasks "grunt-processhtml"
- # Dist build
- #
grunt.registerTask(
- "default"
+ "common"
[
"jshint"
- "clean:dist"
"copy:docs"
"yuidoc"
"uglify:dist"
@@ -169,18 +166,20 @@ module.exports = ( grunt ) ->
)
grunt.registerTask(
- "dev"
+ "default"
[
+ "clean:dist"
"karma:dev"
- "default"
+ "common"
]
)
grunt.registerTask(
"ci"
[
+ "clean:dist"
"karma:ci"
- "default"
+ "common"
]
)
@@ -189,7 +188,6 @@ module.exports = ( grunt ) ->
grunt.registerTask(
"ftp"
[
- "karma:dist"
"default"
"ftp-deploy:docs"
"ftp-deploy:examples"
View
@@ -31,6 +31,7 @@
"devDependencies": {
"baijs": "latest",
"chai": "~1.8.1",
+ "coveralls": "^2.11.2",
"grunt": "~0.4.1",
"grunt-contrib-clean": "~0.5.0",
"grunt-contrib-compress": "~0.5.2",
@@ -25,7 +25,7 @@ module.exports = function (config) {
ciConfig.junitReporter = {
outputFile: 'dist/reports/test-report.xml'
};
- ciConfig.coverageReporter.type = 'cobertura';
+ //ciConfig.coverageReporter.type = 'cobertura';
ciConfig.logLevel = config.LOG_INFO;
config.set(ciConfig);
};

0 comments on commit aff6885

Please sign in to comment.