Run tests on Travis-CI.
[dygraphs.git] / .travis.yml
index 6e5919d..f318f37 100644 (file)
@@ -1,3 +1,11 @@
 language: node_js
 node_js:
   - "0.10"
+
+sudo: false  # Use container-based architecture
+script: >
+    ./make-prod-combined.sh &&
+    ./make-tests.sh &&
+    ./run-tests.sh &&
+    curl -O https://raw.githubusercontent.com/danvk/travis-weigh-in/master/weigh_in.py &&
+    python weigh_in.py dist/dygraph-combined.js