diff options
author | Daniel Stenberg <daniel@haxx.se> | 2018-10-31 12:57:36 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-11-02 15:59:39 +0100 |
commit | 6987e3730e3745678616f493301252e5b2513dcb (patch) | |
tree | 876a9bc82fee855efa89c1bcd841625d5f455064 /.travis.yml | |
parent | e4f2a5bc1b6146f96a8a5778a13ab3d0c6071040 (diff) | |
download | curl-6987e3730e3745678616f493301252e5b2513dcb.tar.gz |
travis: remove curl before a normal build
on Linux. To make sure the test suite runs with its newly build tool and
doesn't require an external one present.
Bug: #3198
Closes #3200
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index b39fa8a92..3102a474c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -316,6 +316,11 @@ script: - | set -eo pipefail if [ "$T" = "normal" ]; then + 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 |