1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

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
This commit is contained in:
Daniel Stenberg 2018-10-31 12:57:36 +01:00
parent e4f2a5bc1b
commit 6987e3730e
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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