diff --git a/appveyor.yml b/appveyor.yml index 883d853..824a63a 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -45,7 +45,7 @@ install: test_script: # we don't run the "test phase" when doing deploys - if [%APPVEYOR_REPO_TAG%]==[false] ( - cargo fmt --all -- --write-mode=diff && + cargo fmt --all && cargo build --target %TARGET% && cargo build --target %TARGET% --release && cargo test --target %TARGET% && diff --git a/ci/script.sh b/ci/script.sh index 0269b96..2bd1c5c 100644 --- a/ci/script.sh +++ b/ci/script.sh @@ -4,7 +4,7 @@ set -ex # TODO This is the "test phase", tweak it as you see fit main() { - cargo fmt --all -- --write-mode=diff + cargo fmt --all cross build --target $TARGET cross build --target $TARGET --release