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 10c1dc1 commit 7701921
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Expand Up @@ -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
Expand Down

0 comments on commit 7701921

Please sign in to comment.