diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..af71b22 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,9 @@ +language: node_js +node_js: + - "4.2" +install: + - npm install -g grunt bower karma + - npm install + - bower install +script: + - grunt karma diff --git a/package.json b/package.json index 265de6b..7af4221 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "A native Angular directive derived from the jQuery Backstretch plugin (http://srobbin.com/jquery-plugins/backstretch)", "main": "index.js", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "test": "grunt karma" }, "repository": { "type": "git",