Skip to content

Commit 79db6d2

Browse files
committed
Changed Travis CI setup to load GCC 4.8 when necessary
Signed-off-by: Stefan Marr <[email protected]>
1 parent 730c1d6 commit 79db6d2

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.travis.yml

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
language: c++
22

3-
# before_install:
4-
# - sudo apt-get update
5-
#
6-
# install:
7-
# - sudo apt-get install libc6-dev-i386
3+
# attempt to install GCC 4.8 when necessary, otherwise we wont have C++11 support
4+
before_install:
5+
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
6+
- sudo apt-get update -qq
7+
- sudo apt-get install -qq libboost1.48-dev libboost-test1.48-dev libyajl-dev libxml2-dev libxqilla-dev
8+
- if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.8; fi
89

910
compiler:
1011
- clang

0 commit comments

Comments
 (0)