Fix travis using outdated rustfmt

This commit is contained in:
Drakulix 2017-03-20 15:43:57 +01:00
parent ae375624ac
commit 6d2025634c
1 changed files with 2 additions and 0 deletions

View File

@ -26,6 +26,8 @@ branches:
before_script: before_script:
- export PATH=$HOME/.local/bin:$HOME/.cargo/bin:$PATH - export PATH=$HOME/.local/bin:$HOME/.cargo/bin:$PATH
- which rustfmt || cargo install rustfmt - which rustfmt || cargo install rustfmt
- which cargo-install-update || cargo install cargo-update
- cargo install-update -a
- pip install 'travis-cargo<0.2' --user - pip install 'travis-cargo<0.2' --user
- mkdir $(pwd)/socket - mkdir $(pwd)/socket
- export XDG_RUNTIME_DIR="$(pwd)/socket" - export XDG_RUNTIME_DIR="$(pwd)/socket"