Skip to content

Commit a73fbfb

Browse files
committed
Add rustfmt to CI install steps
Signed-off-by: Daniel Silverstone <[email protected]>
1 parent 25f476d commit a73fbfb

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ matrix:
132132

133133
install:
134134
- if [ -z "$NO_ADD" ]; then rustup target add $TARGET; fi
135+
- rustup component add rustfmt
135136

136137
script:
137138
- mkdir -p target/$TARGET;

appveyor.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ install:
5959
# add mingw to PATH if necessary
6060
- if defined MINGW_DIR set PATH=C:\msys64\%MINGW_DIR%\bin;C:\msys64\usr\bin;%PATH%
6161

62+
# Add rustfmt support
63+
- rustup component add rustfmt
64+
6265
# set cargo features for MSI if requested (otherwise empty string)
6366
- set FEATURES=
6467
- if defined BUILD_MSI set FEATURES=--features msi-installed

0 commit comments

Comments
 (0)