mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2024-12-13 10:22:55 +01:00
gcc-4.6, clang-3.3
This commit is contained in:
parent
72fb4a5b08
commit
138c48b7e8
17
.travis.yml
17
.travis.yml
@ -7,15 +7,24 @@
|
||||
# to allow C++11, though we are not yet building with -std=c++11
|
||||
|
||||
install:
|
||||
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
|
||||
# /usr/bin/gcc is 4.6 always, but gcc-X.Y is available.
|
||||
#- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
|
||||
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.6" CC="gcc-4.6"; fi
|
||||
# /usr/bin/clang is our version already, and clang-X.Y does not exist.
|
||||
#- if [ "$CXX" = "clang++" ]; then export CXX="clang++-3.3" CC="clang-3.3"; fi
|
||||
- echo ${PATH}
|
||||
- ls /usr/local
|
||||
- export PATH=/usr/bin:${PATH}
|
||||
- echo ${CXX}
|
||||
- ${CXX} --version
|
||||
addons:
|
||||
apt:
|
||||
sources:
|
||||
- ubuntu-toolchain-r-test
|
||||
packages:
|
||||
- gcc-4.8
|
||||
- g++-4.8
|
||||
- clang
|
||||
- gcc-4.6
|
||||
- g++-4.6
|
||||
- clang-3.3
|
||||
- valgrind
|
||||
os:
|
||||
- linux
|
||||
|
Loading…
Reference in New Issue
Block a user