File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,18 @@ language: rust
28
28
29
29
cache : cargo
30
30
31
+ before_script :
32
+ # Remove sh.exe from the path otherwise CMake will complain:
33
+ # "sh.exe was found in your PATH, here: C:/Program Files/Git/usr/bin/sh.exe"
34
+ # and the MinGW build will not work (the Visual Studio build does not care).
35
+ # See http://help.appveyor.com/discussions/problems/3193-cmake-building-for-mingw-issue-with-git-shexe
36
+ # The entire directory containing sh.exe could be removed from the PATH environment:
37
+ # - set PATH=%PATH:C:\Program Files\Git\usr\bin;=%
38
+ # However, this will also remove all other programs in this directory from the PATH.
39
+ # In particular "patch" is still required.
40
+ # So, just rename sh.exe:
41
+ - if [ "$TRAVIS_OS_NAME" = "windows" ]; then mv "C:\Program Files\Git\usr\bin\sh.exe" "C:\Program Files\Git\usr\bin\_sh.exe" ; fi
42
+
31
43
script :
32
44
- cargo test --verbose --all
33
45
- cargo test --verbose --all --no-default-features
You can’t perform that action at this time.
0 commit comments