kopia lustrzana https://github.com/robhawkes/vizicities
Adding Travis CI basics
rodzic
df04821841
commit
3c7623be2b
|
@ -0,0 +1,5 @@
|
|||
language: node_js
|
||||
node_js:
|
||||
- "0.10"
|
||||
before_install:
|
||||
- npm install -g grunt-cli
|
|
@ -135,5 +135,8 @@ module.exports = function(grunt) {
|
|||
// Build files and refresh content on file changes
|
||||
grunt.registerTask('dev', ['default', 'notify:watch', 'watch']);
|
||||
|
||||
// Run tests
|
||||
grunt.registerTask('test', ['jshint']);
|
||||
|
||||
grunt.task.run('notify_hooks');
|
||||
};
|
|
@ -4,7 +4,7 @@
|
|||
"description": "3D city and data visualisation platform",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
"test": "grunt test --verbose"
|
||||
},
|
||||
"author": "Robin Hawkes & Peter Smart",
|
||||
"license": "MIT",
|
||||
|
|
Ładowanie…
Reference in New Issue