Skip to content

Commit

Permalink
Use clang-3.5 since the Travis version has a conflict with gcc (check…
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirill V. Lyadvinsky committed Nov 9, 2016
1 parent 86f085b commit 89aa87b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@

# CMake-generated files:
CMakeFiles/
CTestTestFile.cmake
cmake_install.cmake
*.cmake
pkg-config/jsoncpp.pc
jsoncpp_lib_static.dir/

Expand All @@ -45,6 +44,7 @@ jsoncpp_lib_static.dir/
/src/lib_json/Makefile
/src/test_lib_json/Makefile
/src/test_lib_json/jsoncpp_test
*.a

# eclipse project files
.project
Expand Down
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
install:
# /usr/bin/gcc is 4.6 always, but gcc-X.Y is available.
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.9" CC="gcc-4.9"; fi
# /usr/bin/clang is our version already, and clang-X.Y does not exist.
#- if [ "$CXX" = "clang++" ]; then export CXX="clang++-3.7" CC="clang-3.7"; fi
# /usr/bin/clang has a conflict with gcc, so use clang-X.Y.
- if [ "$CXX" = "clang++" ]; then export CXX="clang++-3.5" CC="clang-3.5"; fi
- echo ${PATH}
- ls /usr/local
- ls /usr/local/bin
Expand All @@ -22,10 +22,11 @@ addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.5
packages:
- gcc-4.9
- g++-4.9
- clang
- clang-3.5
- valgrind
os:
- linux
Expand Down

0 comments on commit 89aa87b

Please sign in to comment.