Skip to content

Commit d961cc6

Browse files
committed
Don't use travis-cargo for fmt, as it can't pass -- through to cargo.
1 parent 7567a01 commit d961cc6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,10 @@ before_script:
2121
script:
2222
- |
2323
travis-cargo build &&
24-
travis-cargo test &&
25-
travis-cargo fmt -- --write-mode diff &&
24+
travis-cargo test
25+
- |
26+
cargo fmt -- --write-mode diff
27+
- |
2628
travis-cargo --only stable doc
2729
after_success:
2830
- travis-cargo coveralls --no-sudo --verify

0 commit comments

Comments
 (0)