Skip to content

Commit 04794a7

Browse files
committed
Use a different environment variable to run rustfmt check
By @Disasm
1 parent e5b4e1f commit 04794a7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ matrix:
2323
language: bash
2424
if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
2525

26-
- env: RUSTFMT=1
26+
- env: CHECK_RUSTFMT=1
2727
rust: stable
2828
if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
2929

ci/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ if [ -n "${CHECK_BLOBS:-}" ]; then
1313
fi
1414
fi
1515

16-
if [ -n "${RUSTFMT:-}" ]; then
16+
if [ -n "${CHECK_RUSTFMT:-}" ]; then
1717
rustup component add rustfmt
1818
fi

ci/script.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ if [ -n "${CHECK_BLOBS:-}" ]; then
1515
./check-blobs.sh
1616
fi
1717

18-
if [ -n "${RUSTFMT:-}" ]; then
18+
if [ -n "${CHECK_RUSTFMT:-}" ]; then
1919
cargo fmt -- --check
2020
fi

0 commit comments

Comments
 (0)