diff --git a/.travis.yml b/.travis.yml index 4fee055..1f369fd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,8 @@ language: node_js node_js: - "0.10" -install: "npm -g install jshint" -script: "jshint js/*" +install: "npm install" +script: "sh -e run_tests.sh" notifications: email: false irc: diff --git a/run_tests.sh b/run_tests.sh new file mode 100644 index 0000000..da07a28 --- /dev/null +++ b/run_tests.sh @@ -0,0 +1,2 @@ +./node_modules/.bin/jshint js/* +npm test