Skip to content

Commit 138c48b

Browse files
committed
gcc-4.6, clang-3.3
1 parent 72fb4a5 commit 138c48b

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

.travis.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,24 @@
77
# to allow C++11, though we are not yet building with -std=c++11
88

99
install:
10-
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
10+
# /usr/bin/gcc is 4.6 always, but gcc-X.Y is available.
11+
#- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
12+
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.6" CC="gcc-4.6"; fi
13+
# /usr/bin/clang is our version already, and clang-X.Y does not exist.
14+
#- if [ "$CXX" = "clang++" ]; then export CXX="clang++-3.3" CC="clang-3.3"; fi
15+
- echo ${PATH}
16+
- ls /usr/local
17+
- export PATH=/usr/bin:${PATH}
18+
- echo ${CXX}
19+
- ${CXX} --version
1120
addons:
1221
apt:
1322
sources:
1423
- ubuntu-toolchain-r-test
1524
packages:
16-
- gcc-4.8
17-
- g++-4.8
18-
- clang
25+
- gcc-4.6
26+
- g++-4.6
27+
- clang-3.3
1928
- valgrind
2029
os:
2130
- linux

0 commit comments

Comments
 (0)