Skip to content

Commit 044023d

Browse files
bors[bot]phansch
andcommitted
Merge #3418
3418: Fix Travis Windows build r=flip1995 a=phansch Closes #3306 Co-authored-by: Philipp Hansch <[email protected]>
2 parents 3bb8877 + f00f749 commit 044023d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.travis.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ install:
4040
fi
4141
if [ "$TRAVIS_OS_NAME" == "windows" ]; then
4242
choco install windows-sdk-10.0
43+
find tests/ui/* \( -name '*.rs' -or -name '*.stderr' -or -name '*.stdout' \) -exec dos2unix '{}' +
44+
find tests/ui-toml/* \( -name '*.rs' -or -name '*.stderr' -or -name '*.stdout' -or -name '*.toml' \) -exec dos2unix '{}' +
4345
fi
4446
fi
4547
@@ -64,9 +66,6 @@ matrix:
6466
- env: INTEGRATION=serde-rs/serde
6567
- env: INTEGRATION=Geal/nom
6668
- env: INTEGRATION=hyperium/hyper
67-
allow_failures:
68-
- os: windows
69-
env: BASE_TEST=true
7069
# prevent these jobs with default env vars
7170
exclude:
7271
- os: linux

ci/base-tests.sh

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ cd clippy_dev && cargo test && cd ..
2727
# Perform various checks for lint registration
2828
./util/dev update_lints --check
2929

30+
PATH=$PATH:$(rustc --print sysroot)/bin
3031
CLIPPY="`pwd`/target/debug/cargo-clippy clippy"
3132
# run clippy on its own codebase...
3233
${CLIPPY} --all-targets --all-features -- -D clippy::all -D clippy::internal -Dclippy::pedantic

0 commit comments

Comments
 (0)