Skip to content

Commit 9e2aceb

Browse files
committed
Switch to Bionic and run cargo fmt as a separate job
1 parent 8d75f41 commit 9e2aceb

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.travis.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
dist: xenial
1+
dist: bionic
22

33
branches:
44
# We need to whitelist the branches which we want to have "push" automation.
@@ -15,6 +15,10 @@ matrix:
1515
script:
1616
- npm run $TEST_SUITE
1717

18+
- lanugage: rust
19+
script:
20+
- cargo fmt --all -- --check
21+
1822
- language: rust
1923
#rust: "1.27.2"
2024
#env: EMSDK_VERSION=sdk-1.38.21-64bit
@@ -27,8 +31,6 @@ matrix:
2731
- ./emsdk/emsdk activate $EMSDK_VERSION
2832
- rustup target add asmjs-unknown-emscripten
2933
script:
30-
# the useful way to run rustfmt
31-
- cargo fmt --all -- --check
3234
# activate Emscripten
3335
- source ./emsdk/emsdk_env.sh
3436
# no need to run cargo build anymore

0 commit comments

Comments
 (0)