File tree Expand file tree Collapse file tree 1 file changed +15
-6
lines changed Expand file tree Collapse file tree 1 file changed +15
-6
lines changed Original file line number Diff line number Diff line change 22# http://about.travis-ci.org/docs/user/build-configuration/
33# This file can be validated on:
44# http://lint.travis-ci.org/
5+ # See also
6+ # http://stackoverflow.com/questions/22111549/travis-ci-with-clang-3-4-and-c11/30925448#30925448
7+ # to allow C++11, though we are not yet building with -std=c++11
58
6- # before_install: sudo apt-get install -y cmake
7- # cmake is pre-installed in Travis for both linux and osx
8-
9- before_install :
10- - sudo apt-get update -qq
11- - sudo apt-get install -qq valgrind
9+ install :
10+ - if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
11+ addons :
12+ apt :
13+ sources :
14+ - ubuntu-toolchain-r-test
15+ packages :
16+ - gcc-4.8
17+ - g++-4.8
18+ - clang
19+ - valgrind
1220os :
1321 - linux
1422language : cpp
2331notifications :
2432 email :
253334+ sudo : false
You can’t perform that action at this time.
0 commit comments