Skip to content

Commit 1e3cf4d

Browse files
committed
refactored test task and bower install
1 parent 046b54c commit 1e3cf4d

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ before_script:
66
- echo " StrictHostKeyChecking no" >> ~/.ssh/config
77
- echo " CheckHostIP no" >> ~/.ssh/config
88
- npm install -g bower grunt-cli
9+
- bower install -f

Gruntfile.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ module.exports = function (grunt) {
5757
}
5858
});
5959

60-
grunt.registerTask('build', ['clean', 'less', 'useminPrepare', 'concat', 'uglify', 'cssmin', 'htmlmin', 'usemin', 'mocha_phantomjs']);
60+
grunt.registerTask('build', ['clean', 'less', 'useminPrepare', 'concat', 'uglify', 'cssmin', 'htmlmin', 'usemin']);
61+
grunt.registerTask('test', ['build', 'mocha_phantomjs']);
6162
grunt.registerTask('default', ['build', 'connect', 'watch']);
6263
};

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"dependencies": {
55
"jsrsasign": "http://kjur.github.io/jsrsasign/jsrsasign-4.1.4-all-min.js",
66
"json-sans-eval-min": "http://kjur.github.io/jsjws/ext/json-sans-eval-min.js",
7-
"codemirror": "git@github.com:marijnh/CodeMirror.git#4.0.1",
7+
"codemirror": "https://github.com/marijnh/CodeMirror.git#4.0.1",
88
"jws.js": "http://rawgithub.com/kjur/jsjws/master/jws-3.0.js",
99
"jsonlint": "1.6.0",
1010
"zepto": "1.1.3"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@
1818
"grunt-mocha-phantomjs": "^0.4.3"
1919
},
2020
"scripts": {
21-
"test": "bower install && grunt build --verbose"
21+
"test": "grunt test --verbose"
2222
}
2323
}

0 commit comments

Comments
 (0)