Skip to content

Commit 89aa87b

Browse files
author
Kirill V. Lyadvinsky
committed
Use clang-3.5 since the Travis version has a conflict with gcc (check this issue https://bugs.debian.org/cgi-bin/bugreport.cgi?msg=11;bug=744872)
1 parent 86f085b commit 89aa87b

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@
3030

3131
# CMake-generated files:
3232
CMakeFiles/
33-
CTestTestFile.cmake
34-
cmake_install.cmake
33+
*.cmake
3534
pkg-config/jsoncpp.pc
3635
jsoncpp_lib_static.dir/
3736

@@ -45,6 +44,7 @@ jsoncpp_lib_static.dir/
4544
/src/lib_json/Makefile
4645
/src/test_lib_json/Makefile
4746
/src/test_lib_json/jsoncpp_test
47+
*.a
4848

4949
# eclipse project files
5050
.project

.travis.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
install:
1010
# /usr/bin/gcc is 4.6 always, but gcc-X.Y is available.
1111
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.9" CC="gcc-4.9"; fi
12-
# /usr/bin/clang is our version already, and clang-X.Y does not exist.
13-
#- if [ "$CXX" = "clang++" ]; then export CXX="clang++-3.7" CC="clang-3.7"; fi
12+
# /usr/bin/clang has a conflict with gcc, so use clang-X.Y.
13+
- if [ "$CXX" = "clang++" ]; then export CXX="clang++-3.5" CC="clang-3.5"; fi
1414
- echo ${PATH}
1515
- ls /usr/local
1616
- ls /usr/local/bin
@@ -22,10 +22,11 @@ addons:
2222
apt:
2323
sources:
2424
- ubuntu-toolchain-r-test
25+
- llvm-toolchain-precise-3.5
2526
packages:
2627
- gcc-4.9
2728
- g++-4.9
28-
- clang
29+
- clang-3.5
2930
- valgrind
3031
os:
3132
- linux

0 commit comments

Comments
 (0)