mirror of
https://github.com/bspeice/dtparse
synced 2024-11-13 17:38:09 -05:00
Disable clippy component for 1.28
This commit is contained in:
parent
7147677926
commit
3e03b188b4
15
.travis.yml
15
.travis.yml
@ -6,6 +6,7 @@ jobs:
|
|||||||
os: linux
|
os: linux
|
||||||
- rust: 1.28.0
|
- rust: 1.28.0
|
||||||
os: linux
|
os: linux
|
||||||
|
env: DISABLE_TOOLS=true
|
||||||
- rust: stable
|
- rust: stable
|
||||||
os: osx
|
os: osx
|
||||||
- rust: stable-msvc
|
- rust: stable-msvc
|
||||||
@ -20,12 +21,10 @@ before_script:
|
|||||||
- rustup show
|
- rustup show
|
||||||
# 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
|
||||||
- rustup component add clippy
|
- if [[ "$DISABLE_CLIPPY" == "" ]]; then rustup component add clippy; rustup component add rustfmt; fi
|
||||||
- rustup component add rustfmt
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- cargo clippy --all
|
- if [[ "$DISABLE_CLIPPY" == "" ]]; then cargo clippy --all && cargo fmt --all -- --check; fi
|
||||||
- cargo fmt --all -- --check
|
|
||||||
|
|
||||||
# For default build, split up compilation and tests so we can track build times
|
# For default build, split up compilation and tests so we can track build times
|
||||||
- cargo test --no-run
|
- cargo test --no-run
|
||||||
@ -33,14 +32,6 @@ script:
|
|||||||
- cargo test --release --no-run
|
- cargo test --release --no-run
|
||||||
- cargo test --release
|
- cargo test --release
|
||||||
|
|
||||||
# Run tests using static linking
|
|
||||||
- cd "$TRAVIS_BUILD_DIR/libaeron-sys"
|
|
||||||
- cargo test --features "static"
|
|
||||||
|
|
||||||
- cd "$TRAVIS_BUILD_DIR/libaeron_driver-sys"
|
|
||||||
- cargo test --features "static"
|
|
||||||
|
|
||||||
|
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
|
Loading…
Reference in New Issue
Block a user