Skip to content

Commit 3339726

Browse files
committed
fix travis?
1 parent 9be47b5 commit 3339726

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ before_script:
1717
- |
1818
(which cargo-install-update && cargo install-update cargo-update) || cargo install cargo-update &&
1919
(which cargo-prune && cargo install-update cargo-prune) || cargo install cargo-prune
20-
- rustup component add rustfmt-preview
20+
- rustup component add rustfmt
2121
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export OPENSSL_INCLUDE_DIR=`brew --prefix openssl`/include; fi
2222
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export OPENSSL_LIB_DIR=`brew --prefix openssl`/lib; fi
2323
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export DEP_OPENSSL_INCLUDE=`brew --prefix openssl`/include; fi
2424
script:
2525
- if [ "${TRAVIS_RUST_VERSION}" = stable ]; then
2626
(
2727
set -x;
28-
cargo fmt -- --write-mode=diff
28+
cargo fmt
2929
);
3030
fi
3131
- cargo test --verbose --release

0 commit comments

Comments
 (0)