summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2018-11-01 17:07:39 +0100
committerDaniel Stenberg <daniel@haxx.se>2018-11-01 17:07:39 +0100
commita188868c4ba7f3bf14b5d20a2e1de42bb2f21bfb (patch)
tree7565422793fd8a1179beeb80163c9e8ef9ff9b4e
parent28b3bc25a83df6485eca692f766739d9791a2c06 (diff)
downloadcurl-bagder/rm-curl.tar.gz
fixup only remove on linuxbagder/rm-curl
-rw-r--r--.travis.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index f0a9be30a..3102a474c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -316,7 +316,11 @@ script:
- |
set -eo pipefail
if [ "$T" = "normal" ]; then
- sudo rm -f /usr/bin/curl
+ if [ $TRAVIS_OS_NAME = linux ]; then
+ # Remove system curl to make sure we don't rely on it.
+ # Only done on Linux since we're not permitted to on mac.
+ sudo rm -f /usr/bin/curl
+ fi
./configure --enable-warnings --enable-werror $C
make && make examples
if [ -z $NOTESTS ]; then