From ba4f58adbf97816622fbe83521fc80cb71c298e9 Mon Sep 17 00:00:00 2001 From: Stefan Radomski Date: Wed, 26 Oct 2016 17:04:03 +0200 Subject: Still trying to fic travis CI ... --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index edff42c..0a47d5d 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++" ]; 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