summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 30cb6d2..d8b7b99 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -30,7 +30,12 @@ install:
sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test &&
sudo apt-get update -qq;
fi
- - sudo apt-get install -qq ${REAL_CXX/clang++/clang}
+ -
+ if ! [ "${REAL_CXX}" = "clang++" ];
+ then
+ sudo apt-get install -qq ${REAL_CXX};
+ sudo apt-get update -qq;
+ fi
- sudo apt-get install -qq libgtest-dev
## Do something before the main test script