Try just removing sh.exe outright

Hilarious things happen in Travis when /bin goes away
trying^2
Bradlee Speice 2020-01-12 18:44:32 -05:00
parent 437e3f9d05
commit 80c1aed824
1 changed files with 2 additions and 3 deletions

View File

@ -14,9 +14,8 @@ before_script:
- rustup update
- rustup component add clippy
- rustup component add rustfmt
# CMake doesn't like `sh.exe` being available on Windows,
# and since we don't use it elsewhere, just remove from PATH
- export PATH="${PATH/:\/bin/}"
# CMake doesn't like `sh.exe` being on the PATH,
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then rm "C:/Program Files/Git/usr/bin/sh.exe"; fi
script:
- cargo clippy --all