Skip to content

Commit

Permalink
Travis: always do "apt-get -f install"
Browse files Browse the repository at this point in the history
just in case, to fix broken packages
  • Loading branch information
rolandwalker committed Oct 15, 2013
1 parent cb36dab commit 43642e3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Expand Up @@ -90,6 +90,7 @@ before_install:
install:
#- if [ "$EMACS" = 'xemacs21' ]; then
# sudo apt-get update -qq &&
# sudo apt-get -qq -f install &&
# sudo apt-get install -qq xemacs21-basesupport xemacs21-basesupport-el xemacs21-supportel xemacs21-support xemacs21-mulesupport-el xemacs21-mulesupport xemacs21-mule-canna-wnn xemacs21-mule-canna-wnn;
# fi
- if [ "$EMACS" = 'emacs22' ]; then
Expand All @@ -101,21 +102,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
Expand Down

0 comments on commit 43642e3

Please sign in to comment.