Permalink
Browse files

Try to install emacs-snapshot from 3rd-party-PPA before travis build.

  • Loading branch information...
1 parent e8253b4 commit 726ba9e2ba9a809856bbb90d68177cc61c086d5d @mnuessler mnuessler committed Sep 27, 2012
Showing with 13 additions and 2 deletions.
  1. +4 −0 .travis.yml
  2. +9 −2 run-travis-ci.sh
View
@@ -1,3 +1,7 @@
language: emacs-lisp
script: ./run-travis-ci.sh
+before_install:
+ - sudo add-apt-repository -y ppa:cassou/emacs
+ - sudo apt-get update -qq
+ - sudo apt-get install -qq emacs-snapshot
View
@@ -1,13 +1,20 @@
#!/bin/sh
if [ `uname` = "Darwin" ]; then
+ # for local testing only
EMACS="/Applications/Emacs.app/Contents/MacOS/Emacs"
+elsif [ `which emacs-snapshot` != "" ]; then
+ EMACS="$(which emscs-snapshot)"
else
EMACS="$(which emacs)"
fi
-echo "Using emacs: $EMACS"
+echo "Found emacs: $EMACS"
$EMACS --version
-$EMACS -batch -l ert -l jira-markup-mode.el -l jira-markup-mode-test.el -f ert-run-tests-batch-and-exit
+$EMACS -batch \
+-l ert \
+-l jira-markup-mode.el \
+-l jira-markup-mode-test.el \
+-f ert-run-tests-batch-and-exit

0 comments on commit 726ba9e

Please sign in to comment.