From 13220a705ac1efda68c0a0aef0ed63fbc2bc27cd Mon Sep 17 00:00:00 2001 From: Stefan Radomski Date: Wed, 26 Oct 2016 17:11:13 +0200 Subject: Still trying to fix that darned travis --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0a47d5d..b4b7faf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,7 @@ compiler: install: - if [ "$CXX" = "g++" ]; then export CXX="g++-4.9" CC="gcc-4.9"; fi - - if [ "$CXX" = "clang++" ] && [ "$TRAVIS_OS_NAME" == "linux" ]; then export CXX="clang++-3.6" CC="clang-3.6"; fi + - if [ "$CXX" = "clang++" ] && [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export CXX="clang++-3.6" CC="clang-3.6"; fi addons: apt: @@ -26,7 +26,7 @@ addons: - clang-3.6 before_install: - - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get update -qq; fi - - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install -qq libxml2-dev libcurl4-openssl-dev; fi + - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update -qq; fi + - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -qq libxml2-dev libcurl4-openssl-dev; fi script: mkdir build && cd build && cmake .. && make -- cgit v0.12