diff --git a/.travis.yml b/.travis.yml index fb0dbc5..940a023 100644 --- a/.travis.yml +++ b/.travis.yml @@ -93,21 +93,25 @@ install: sudo apt-get update -qq && sudo apt-get remove -qq emacs emacs23-bin-common emacs23-common emacs23-nox && sudo apt-get install -qq libjpeg62 xaw3dg && + sudo apt-get -qq -f install && sudo dpkg -i emacs22_22.2-0ubuntu9_i386.deb emacs22-bin-common_22.2-0ubuntu9_i386.deb emacs22-common_22.2-0ubuntu9_all.deb emacs22-el_22.2-0ubuntu9_all.deb emacs22-gtk_22.2-0ubuntu9_i386.deb && sudo update-alternatives --set emacs22 /usr/bin/emacs22-gtk; fi - if [ "$EMACS" = 'emacs23' ]; then sudo apt-get update -qq && + sudo apt-get -qq -f install && sudo apt-get install -qq emacs23-gtk emacs23-el; fi - if [ "$EMACS" = 'emacs24' ]; then sudo add-apt-repository -y ppa:cassou/emacs && sudo apt-get update -qq && + sudo apt-get -qq -f install && sudo apt-get install -qq emacs24 emacs24-el; fi - if [ "$EMACS" = 'emacs-snapshot' ]; then sudo add-apt-repository -y ppa:cassou/emacs && sudo apt-get update -qq && + sudo apt-get -qq -f install && sudo apt-get install -qq emacs-snapshot && sudo apt-get install -qq emacs-snapshot-el emacs-snapshot-gtk; fi