File tree 1 file changed +15
-6
lines changed 1 file changed +15
-6
lines changed Original file line number Diff line number Diff line change 2
2
# http://about.travis-ci.org/docs/user/build-configuration/
3
3
# This file can be validated on:
4
4
# 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
5
8
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
12
20
os :
13
21
- linux
14
22
language : cpp
23
31
notifications :
24
32
email :
25
33
34
+ sudo : false
You can’t perform that action at this time.
0 commit comments