Remove format checks from CI scripts again.

This commit is contained in:
Michael Wright 2019-07-04 06:35:33 +02:00 committed by flip1995
parent 503474a647
commit 0c00391ed0
No known key found for this signature in database
GPG key ID: 01C836B640FFDFB1

View file

@ -49,22 +49,3 @@ export CARGO_TARGET_DIR=`pwd`/target/
# TODO: CLIPPY_CONF_DIR / CARGO_MANIFEST_DIR
)
# make sure tests are formatted
# some lints are sensitive to formatting, exclude some files
tests_need_reformatting="false"
# switch to nightly
rustup override set nightly
# avoid loop spam and allow cmds with exit status != 0
set +ex
set -ex # reset
if [ "${tests_need_reformatting}" == "true" ] ; then
echo "Tests need reformatting!"
exit 2
fi
# switch back to master
rustup override set master