Skip to content

Commit b572296

Browse files
committed
Put cargo directory on PATH.
1 parent d961cc6 commit b572296

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ before_script:
1717
- |
1818
pip install 'travis-cargo<0.2' --user &&
1919
export PATH=$HOME/.local/bin:$PATH
20-
- cargo install --force rustfmt
20+
- |
21+
cargo install --force rustfmt
22+
export PATH=$HOME/.cargo/bin:$PATH
2123
script:
2224
- |
2325
travis-cargo build &&

0 commit comments

Comments
 (0)