We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2428889 commit f4e6fccCopy full SHA for f4e6fcc
.travis.yml
@@ -2,13 +2,20 @@
2
# http://about.travis-ci.org/docs/user/build-configuration/
3
# This file can be validated on:
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
8
-#before_install: sudo apt-get install -y cmake
-# cmake is pre-installed in Travis for both linux and osx
-
9
-before_install:
10
- - sudo apt-get update -qq
11
- - sudo apt-get install -qq valgrind
+install:
+- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
+addons:
12
+ apt:
13
+ sources:
14
+ - ubuntu-toolchain-r-test
15
+ packages:
16
+ - gcc-4.8
17
+ - g++-4.8
18
+ - clang
19
os:
20
- linux
21
language: cpp
@@ -23,3 +30,4 @@ env:
23
30
notifications:
24
31
email:
25
32
- [email protected]
33
+sudo: false
0 commit comments