diff --git a/.travis.yml b/.travis.yml index bf31bf9..99e23d2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,7 +17,7 @@ before_script: - | (which cargo-install-update && cargo install-update cargo-update) || cargo install cargo-update && (which cargo-prune && cargo install-update cargo-prune) || cargo install cargo-prune - - rustup component add rustfmt-preview + - rustup component add rustfmt - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export OPENSSL_INCLUDE_DIR=`brew --prefix openssl`/include; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export OPENSSL_LIB_DIR=`brew --prefix openssl`/lib; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export DEP_OPENSSL_INCLUDE=`brew --prefix openssl`/include; fi @@ -25,7 +25,7 @@ script: - if [ "${TRAVIS_RUST_VERSION}" = stable ]; then ( set -x; - cargo fmt -- --write-mode=diff + cargo fmt ); fi - cargo test --verbose --release