Enable rustfmt tests

This reverts commit d73a953db7.
This commit is contained in:
Michael Wright 2019-07-28 06:41:29 +02:00
parent dae4076760
commit a9714227bd
3 changed files with 2 additions and 3 deletions

View file

@ -22,7 +22,7 @@ env:
install:
- |
if [ -z ${INTEGRATION} ]; then
# rustup component add rustfmt || cargo install --git https://github.com/rust-lang/rustfmt/ --force
rustup component add rustfmt || cargo install --git https://github.com/rust-lang/rustfmt/ --force
if [ "$TRAVIS_OS_NAME" == "linux" ]; then
. $HOME/.nvm/nvm.sh
nvm install stable

View file

@ -22,7 +22,7 @@ install:
- del rust-toolchain
- cargo install rustup-toolchain-install-master --debug || echo "rustup-toolchain-install-master already installed"
- rustup-toolchain-install-master %RUSTC_HASH% -f -n master
#- rustup component add rustfmt --toolchain nightly
- rustup component add rustfmt --toolchain nightly
- rustup default master
- set PATH=%PATH%;C:\Users\appveyor\.rustup\toolchains\master\bin
- rustc -V

View file

@ -1,7 +1,6 @@
use std::process::Command;
#[test]
#[ignore]
fn fmt() {
if option_env!("RUSTC_TEST_SUITE").is_some() {
return;