Commit 8207dd33 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

Use gcc-4.9 for travis build

parent d99e1135
...@@ -8,9 +8,9 @@ before_install: ...@@ -8,9 +8,9 @@ before_install:
- $CC --version - $CC --version
- sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test - sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq - sudo apt-get update -qq
#Install and use gcc-4.8 (don't build with gcc-4.6) #Install and use gcc-4.9 (don't build with gcc < 4.8.3)
#libstdc++-4.8 is needed by Clang to build too #libstdc++-4.9 is needed by Clang to build too
- sudo apt-get -qq install g++-4.8 libstdc++-4.8-dev - sudo apt-get -qq install g++-4.9 libstdc++-4.9-dev
- > - >
sudo apt-get install --no-install-recommends -qq sudo apt-get install --no-install-recommends -qq
autoconf autoconf
...@@ -25,7 +25,7 @@ before_install: ...@@ -25,7 +25,7 @@ before_install:
libevent-dev libevent-dev
libjansson-dev libjansson-dev
libjemalloc-dev libjemalloc-dev
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi - if [ "$CXX" = "g++" ]; then export CXX="g++-4.9" CC="gcc-4.9"; fi
- $CC --version - $CC --version
before_script: before_script:
- autoreconf -i - autoreconf -i
......
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