Commit 9ca40c96 authored by steckerhalter's avatar steckerhalter

build emacs from source

parent 599982c3
......@@ -12,21 +12,25 @@ else
if ! dpkg -l | grep python-software-properties; then
sudo apt-get update
sudo apt-get install -qq python-software-properties
if ! grep cassou /etc/apt/sources.list.d/*; then
sudo add-apt-repository -y ppa:cassou/emacs
sudo apt-get update
if ! test -e /usr/local/bin/emacs; then
>&2 echo "--- installing deps ---"
sudo apt-get update
sudo apt-get -y install build-essential wget git mercurial
sudo apt-get -y build-dep emacs23
wget -O- | tar xz
cd emacs-25.3
>&2 echo "--- building emacs ---"
./configure &&\
make &&\
sudo make install
sudo apt-get install -y -qq git
} > /dev/null
if ! dpkg -l | grep emacs24; then
sudo apt-get install -qq git mercurial subversion bzr cvs emacs24 emacs24-el emacs24-common-non-dfsg emacs-snapshot-el emacs-snapshot-gtk emacs-snapshot
echo "--- running tests ---"
emacs24 --batch --eval "(setq travis-ci-dir \"$dir\")" --load $dir/ci/.emacs
rm -rf ~/.emacs.d/
emacs-snapshot --batch --eval "(setq travis-ci-dir \"$dir\")" --load $dir/ci/.emacs
emacs --batch --eval "(setq travis-ci-dir \"$dir\")" --load $dir/ci/.emacs
rm -rf ~/.emacs.d/
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment