summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml9
-rw-r--r--README.md2
2 files changed, 11 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 00000000..c2996e66
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,9 @@
+language: cpp
+compiler:
+ - clang
+ - gcc
+install: "./acprep dependencies"
+before_script: "./acprep opt make --python"
+script:
+ - "./acprep check -- --output-on-failure"
+ - "PYTHONPATH=. python python/demo.py"
diff --git a/README.md b/README.md
index e033ea7a..5eacbced 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,5 @@
+[![Build Status](https://travis-ci.org/ledger/ledger.png?branch=master)](https://travis-ci.org/ledger/ledger)
+
# Ledger: Command-Line Accounting
Ledger is a powerful, double-entry accounting system that is accessed from the