diff options
author | petr-tik <petr-tik@users.noreply.github.com> | 2019-08-12 00:25:47 +0100 |
---|---|---|
committer | Paul Masurel <paul.masurel@gmail.com> | 2019-08-12 08:25:47 +0900 |
commit | ea56160cdcce3ae4d47270edad9cd49b7245f804 (patch) | |
tree | 50ca4501b4ba9c170eacdbe2a28c9caaafabd76a | |
parent | 028b0a749c263fae4db8705ec2b14386a52b36b5 (diff) |
Added cargo-fmt to CI runs (#627)
* Added cargo-fmt to CI runs
Closes #625
* Remove fmt from appveyor builds
Windows seems to have issues with install components through rustup.
Formatting should be equally informative regardless of the OS,
so best to keep it in Linux on Travis
-rw-r--r-- | .travis.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 9fc2578..c4c59cd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -47,6 +47,7 @@ matrix: before_install: - set -e - rustup self update + - rustup component add rustfmt install: - sh ci/install.sh @@ -60,6 +61,7 @@ before_script: script: - bash ci/script.sh + - cargo fmt --all -- --check before_deploy: - sh ci/before_deploy.sh |