diff options
author | Ryan Lopopolo <rjl@hyperbo.la> | 2019-09-15 19:19:12 -0700 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2019-09-17 09:35:52 +0900 |
commit | 4c379f512a237640c141da44fd9b3fc66e39be71 (patch) | |
tree | 6f2bd3a269f9fcb1f11ceeac80b9419ecc67e34a | |
parent | f377a637fb11d3aee2891e77c70c5796ea162956 (diff) |
Set RUSTFMT for nofeatures tests
-rwxr-xr-x | ci/script.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ci/script.sh b/ci/script.sh index 6bf65960..8c5d5de7 100755 --- a/ci/script.sh +++ b/ci/script.sh @@ -26,6 +26,10 @@ case "$BINDGEN_JOB" in ;; "nofeatures") + rustup update nightly + rustup component add rustfmt + RUSTFMT="$(rustup which rustfmt)" + export RUSTFMT cargo test "$BINDGEN_PROFILE" --no-default-features ./ci/assert-no-diff.sh ;; |