mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-10 23:24:24 +00:00
Travis: Use windows-msvc target for Windows build
This commit is contained in:
parent
e8642c7a29
commit
a2b3b5a7b7
1 changed files with 7 additions and 1 deletions
|
@ -26,7 +26,13 @@ env:
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- export CARGO_TARGET_DIR="$TRAVIS_BUILD_DIR/target"
|
- export CARGO_TARGET_DIR="$TRAVIS_BUILD_DIR/target"
|
||||||
- curl -sSL https://sh.rustup.rs | sh -s -- -y --default-toolchain=nightly --profile=minimal
|
- |
|
||||||
|
case "$TRAVIS_OS_NAME" in
|
||||||
|
linux ) HOST=x86_64-unknown-linux-gnu;;
|
||||||
|
osx ) HOST=x86_64-apple-darwin;;
|
||||||
|
windows ) HOST=x86_64-pc-windows-msvc;;
|
||||||
|
esac
|
||||||
|
- curl -sSL https://sh.rustup.rs | sh -s -- -y --default-host="$HOST" --default-toolchain=nightly --profile=minimal
|
||||||
- export PATH="$HOME/.cargo/bin:$PATH"
|
- export PATH="$HOME/.cargo/bin:$PATH"
|
||||||
install:
|
install:
|
||||||
- |
|
- |
|
||||||
|
|
Loading…
Reference in a new issue