Skip to content
Snippets Groups Projects
Commit 047c3f0b authored by Jeremy M Fee's avatar Jeremy M Fee
Browse files

Add linting to travis

parent 54905e8d
No related branches found
No related tags found
No related merge requests found
......@@ -25,4 +25,4 @@ install:
- source activate test-environment
- pip install obspy
- npm install
script: grunt test
script: grunt lint test
......@@ -6,14 +6,18 @@ module.exports = function (grunt) {
config.tasks.forEach(grunt.loadNpmTasks);
grunt.initConfig(config);
grunt.registerTask('lint', [
'flake8',
'jshint'
]);
grunt.registerTask('test', [
'nose:main'
]);
grunt.registerTask('default', [
'clean',
'flake8',
'jshint',
'lint',
'test',
'watch'
]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment