diff --git a/.travis.yml b/.travis.yml index 93763ae18..64ca924d3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -36,11 +36,11 @@ before_install: - git submodule foreach git pull origin master --depth=1 install: - - if [ $variant == "test_debug" ]; then - 'echo "using gcc : : ccache g++-4.8 : -std=c++11 -fsanitize=address -fsanitize=address ;" > ~/user-config.jam'; + - 'if [ $variant == "test_debug" ]; then + echo "using gcc : : ccache g++-4.8 : -std=c++11 -fsanitize=address -fsanitize=address ;" > ~/user-config.jam; else; - 'echo "using gcc : : ccache g++-4.8 : -std=c++11 ;" > ~/user-config.jam'; - fi + echo "using gcc : : ccache g++-4.8 : -std=c++11 ;" > ~/user-config.jam; + fi' - 'echo "using clang : : ccache clang++ : -std=c++11 ;" >> ~/user-config.jam' - 'echo "using python : 2.7 ;" >> ~/user-config.jam' - ccache -V && ccache --show-stats && ccache --zero-stats