mirror of
https://github.com/bspeice/aeron-rs
synced 2024-12-21 21:38:09 -05:00
Don't install clippy/rustfmt until after we mess with the Windows target
This commit is contained in:
parent
8b8acd5f4b
commit
b23d08a084
@ -11,15 +11,13 @@ cache:
|
|||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- rustup show
|
- rustup show
|
||||||
- rustup set profile minimal
|
|
||||||
- rustup update
|
|
||||||
- rustup component add clippy
|
|
||||||
- rustup component add rustfmt
|
|
||||||
# CMake doesn't like the `sh.exe` provided by Git being in PATH
|
# CMake doesn't like the `sh.exe` provided by Git being in PATH
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then rm "C:/Program Files/Git/usr/bin/sh.exe"; fi
|
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then rm "C:/Program Files/Git/usr/bin/sh.exe"; fi
|
||||||
# MinGW doesn't implement the `poll` functions we need, so default to MSVC
|
# MinGW doesn't implement the `poll` functions we need, so default to MSVC
|
||||||
# TODO: Attempt compilation with MSYS on Travis
|
# TODO: Attempt compilation with MSYS on Travis
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then rustup default stable-x86_64-pc-windows-msvc; fi
|
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then rustup default stable-x86_64-pc-windows-msvc; fi
|
||||||
|
- rustup component add clippy
|
||||||
|
- rustup component add rustfmt
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- cargo clippy --all
|
- cargo clippy --all
|
||||||
|
Loading…
Reference in New Issue
Block a user