Adding Travis CI basics

0.1
Rob Hawkes 2014-02-03 22:14:27 +00:00
rodzic df04821841
commit 3c7623be2b
3 zmienionych plików z 9 dodań i 1 usunięć

5
.travis.yml 100644
Wyświetl plik

@ -0,0 +1,5 @@
language: node_js
node_js:
- "0.10"
before_install:
- npm install -g grunt-cli

Wyświetl plik

@ -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');
};

Wyświetl plik

@ -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",