diff --git a/appveyor.yml b/appveyor.yml index 72c518a2..bd610e04 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -20,17 +20,14 @@ install: - rustup-init.exe -y --default-host %TARGET% --default-toolchain %RUST_VERSION% - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin - rustup component add rustfmt-preview clippy-preview - - cargo fmt --all -- --check - - cargo clippy --all-targets --all-features -- -D warnings - rustc -Vv - cargo -V test_script: - if [%APPVEYOR_REPO_TAG%]==[false] ( - cargo check --target %TARGET% && - cargo check --target %TARGET% --release && - cargo check --target %TARGET% --all-features && - cargo check --target %TARGET% --all-features --release + cargo fmt --all -- --check && + cargo clippy --all-targets --all-features -- -D warnings && + cargo clippy --all-targets -- -D warnings ) before_deploy: diff --git a/ci/script.sh b/ci/script.sh index b2d8a441..c3062300 100644 --- a/ci/script.sh +++ b/ci/script.sh @@ -5,11 +5,8 @@ set -ex # TODO This is the "test phase", tweak it as you see fit main() { cargo fmt --all -- --check + cross clippy --all-targets -- -D warnings cross clippy --all-targets --all-features -- -D warnings - cross check --target $TARGET - cross check --target $TARGET --release - cross check --target $TARGET --all-features - cross check --target $TARGET --release --all-features if [ ! -z $DISABLE_TESTS ]; then return