Always specify standard version.

This commit is contained in:
Daniel James
2016-07-03 08:47:14 +01:00
parent 448798cf7b
commit 815fc115a0

View File

@@ -17,19 +17,19 @@ addons:
matrix: matrix:
include: include:
- compiler: gcc - compiler: gcc
env: BJAM_TOOLSET=gcc env: BJAM_TOOLSET=gcc-std03
- compiler: gcc - compiler: gcc
env: BJAM_TOOLSET=gcc-std11 env: BJAM_TOOLSET=gcc-std11
- compiler: clang - compiler: clang
env: BJAM_TOOLSET=clang env: BJAM_TOOLSET=clang-std03
- compiler: clang - compiler: clang
env: BJAM_TOOLSET=clang-std11 env: BJAM_TOOLSET=clang-std11
before_script: before_script:
- | - |
echo "using gcc : : g++-4.8 ;" > ~/user-config.jam echo "using gcc : std03 : g++-4.8 --std=c++03 ;" > ~/user-config.jam
echo "using gcc : std11 : g++-4.8 --std=c++11 ;" >> ~/user-config.jam echo "using gcc : std11 : g++-4.8 --std=c++11 ;" >> ~/user-config.jam
echo "using clang : : clang++ ;" >> ~/user-config.jam echo "using clang : std03 : clang++ --std=c++03 ;" >> ~/user-config.jam
echo "using clang : std11 : clang++ --std=c++11 ;" >> ~/user-config.jam echo "using clang : std11 : clang++ --std=c++11 ;" >> ~/user-config.jam
- cat ~/user-config.jam - cat ~/user-config.jam
- touch Jamroot.jam - touch Jamroot.jam