Skip to content

Commit

Permalink
travis.yml: Switch to rustup-init.sh from checkout
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Silverstone <[email protected]>
  • Loading branch information
kinnison committed Apr 25, 2019
1 parent 48f6c78 commit 462683b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
dist: xenial
services:
- docker
language: rust
language: generic

git:
depth: false
Expand Down Expand Up @@ -55,6 +55,8 @@ matrix:
env: MACOSX_DEPLOYMENT_TARGET=10.7 TARGET=i686-apple-darwin

install:
- sh rustup-init.sh --default-toolchain=stable -y
- export PATH="$PATH:$HOME/.cargo/bin"
- if [ -z "$NO_ADD" ]; then rustup target add "$TARGET"; fi
- rustup component add rustfmt

Expand Down

0 comments on commit 462683b

Please sign in to comment.