summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml7
-rw-r--r--package.json3
2 files changed, 10 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..3d496c3
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,7 @@
+language: node_js
+node_js:
+ - "5.0"
+before_script:
+ - npm install -g coffee-script
+ - npm install -g browserify
+ - npm install -g uglify-js
diff --git a/package.json b/package.json
index 1562b3c..e7a922b 100644
--- a/package.json
+++ b/package.json
@@ -23,6 +23,9 @@
"yaml2json": "./bin/yaml2json",
"json2yaml": "./bin/json2yaml"
},
+ "scripts": {
+ "test": "cake build; cake test"
+ },
"license": "MIT",
"repository": {
"type": "git",