summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-11-27 00:17:13 -0500
committerKyle Meyer <kyle@kyleam.com>2014-11-27 00:17:13 -0500
commit1ea0f981a0ed63191429d6c7fe1c9a8b51105953 (patch)
tree531ec224c6754aa9cdfa2aeb7e676328c931c6f3
parent9e01fd4f5c16aa31bcec45fc9922ada3310f85f0 (diff)
downloadbog-1ea0f981a0ed63191429d6c7fe1c9a8b51105953.tar.gz
Set up Travis CI
Thanks to Renan Ranelli for setting up the tests to run from the command line (PR #4) and for providing the .travis.yml file.
-rw-r--r--.travis.yml27
-rw-r--r--README.org2
2 files changed, 29 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..18db585
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,27 @@
+# Modified from
+# https://github.com/rranelli/maven-test-mode/blob/master/.travis.yml
+
+language: emacs-lisp
+
+env:
+ matrix:
+ - EMACS=emacs24
+ - EMACS=emacs-snapshot
+
+install:
+ - if [ "$EMACS" = "emacs24" ]; then
+ sudo add-apt-repository -y ppa:cassou/emacs &&
+ sudo apt-get update -qq &&
+ sudo apt-get install -qq emacs24 emacs24-el;
+ fi
+ - if [ "$EMACS" = "emacs-snapshot" ]; then
+ sudo add-apt-repository -y ppa:ubuntu-elisp/ppa &&
+ sudo apt-get update -qq &&
+ sudo apt-get install -qq emacs-snapshot;
+ fi
+
+before_script:
+ make .downloads
+
+script:
+ make test EMACS=${EMACS}
diff --git a/README.org b/README.org
index 01f1f80..76877c3 100644
--- a/README.org
+++ b/README.org
@@ -2,6 +2,8 @@
#+options: toc:nil
#+startup: showall
+[[https://travis-ci.org/kyleam/bog][https://travis-ci.org/kyleam/bog.svg]]
+
Bog is a system for taking research notes in [[http://orgmode.org/][Org mode]]. It adds a few
research-specific features, nearly all of which are focused on managing
and taking notes with Org, not on writing research articles with Org.