Skip to content

Commit

Permalink
.travis.yml: check rustfmt'ing in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
pkgw committed Dec 29, 2018
1 parent 84ba464 commit 12a0b8f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,13 @@ before_script:
export OPENSSL_LIB_DIR=$(brew --prefix openssl)/lib &&
export DEP_OPENSSL_INCLUDE=$(brew --prefix openssl)/include &&
export PKG_CONFIG_PATH=/usr/local/opt/icu4c/lib/pkgconfig
fi
fi &&
rustup component add rustfmt
script:
- |
if [[ -z "$IMAGE" ]]; then
cargo fmt --all -- --check &&
cargo build --verbose &&
cargo test
else
Expand Down

0 comments on commit 12a0b8f

Please sign in to comment.