Skip to content

Commit 885a74d

Browse files
committed
more cleanup
1 parent d7821f0 commit 885a74d

File tree

4 files changed

+4
-11
lines changed

4 files changed

+4
-11
lines changed

.travis.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ node_js:
44

55
before_script:
66
- npm install -g grunt-cli
7-
- grunt &
87

98
script:
10-
- grunt karma:unit
11-
- grunt karma:e2e
9+
- grunt tests

Gruntfile.js

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,7 @@ module.exports = function (grunt) {
66
grunt.loadNpmTasks('grunt-contrib-concat');
77
grunt.loadNpmTasks('grunt-contrib-watch');
88
grunt.loadNpmTasks('grunt-contrib-uglify');
9-
grunt.loadNpmTasks('grunt-conventional-changelog');
10-
grunt.loadNpmTasks('grunt-bump');
119
grunt.loadNpmTasks('grunt-karma');
12-
grunt.loadNpmTasks('grunt-ngmin');
13-
grunt.loadNpmTasks('grunt-html2js');
1410
grunt.loadNpmTasks('grunt-contrib-connect');
1511

1612
var userConfig = {
@@ -88,8 +84,7 @@ module.exports = function (grunt) {
8884
testserver: {
8985
options: {
9086
port: 3030,
91-
base: '.',
92-
keepalive: true
87+
base: '.'
9388
}
9489
}
9590
},
@@ -122,6 +117,8 @@ module.exports = function (grunt) {
122117

123118
grunt.registerTask('default', [ 'connect:server', 'watch']);
124119

120+
grunt.registerTask('tests', [ 'connect:testserver', 'karma:unit', 'karma:e2e']);
121+
125122
grunt.registerTask('build', [
126123
'jshint', 'concat', 'uglify'
127124
]);

config/karma-e2e.conf.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ module.exports = function(config){
2121
},
2222

2323
plugins : [
24-
'karma-junit-reporter',
2524
'karma-chrome-launcher',
2625
'karma-firefox-launcher',
2726
'karma-jasmine',

config/karma.conf.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ module.exports = function(config){
2828
},
2929

3030
plugins : [
31-
'karma-junit-reporter',
3231
'karma-chrome-launcher',
3332
'karma-firefox-launcher',
3433
'karma-jasmine',

0 commit comments

Comments
 (0)