install more recent gcc from a PPA for travis

This commit is contained in:
Ailin Nemui 2014-07-30 15:52:02 +02:00
commit bdfc436a8c

View file

@ -4,9 +4,18 @@ compiler:
- clang - clang
before_install: before_install:
- |
if [ "$CC" = "gcc" ]; then
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
export CC="gcc-4.8"
fi
- sudo apt-get update -qq - sudo apt-get update -qq
- sudo apt-get build-dep -qq irssi - sudo apt-get build-dep -qq irssi
- sudo apt-get install -qq lynx - sudo apt-get install -qq lynx
- |
case "$CC" in gcc-*) :
sudo apt-get install -qq $CC
esac
script: script:
- ./autogen.sh --with-proxy --with-bot - ./autogen.sh --with-proxy --with-bot