Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Commit e893be9

Browse files
committed
Update travis configuration for C++11 support
Signed-off-by: Jules Clero <julesx.clero@intel.com>
1 parent 6ebb3a9 commit e893be9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.travis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,15 @@ compiler:
44
# - clang # not supported yet
55

66
# install SWIG for bindings generation
7+
# and gcc 4.8.1 for c++11 features
78
before_install:
9+
- if [ "$CXX" == "g++" ]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; fi
810
- sudo apt-get update -qq
11+
12+
install:
913
- sudo apt-get install -y swig
14+
- if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.8; fi
15+
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8"; fi
1016

1117
# how to build
1218
script:

0 commit comments

Comments
 (0)