Skip to content

Commit 462683b

Browse files
committed
travis.yml: Switch to rustup-init.sh from checkout
Signed-off-by: Daniel Silverstone <[email protected]>
1 parent 48f6c78 commit 462683b

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
@@ -1,7 +1,7 @@
11
dist: xenial
22
services:
33
- docker
4-
language: rust
4+
language: generic
55

66
git:
77
depth: false
@@ -55,6 +55,8 @@ matrix:
5555
env: MACOSX_DEPLOYMENT_TARGET=10.7 TARGET=i686-apple-darwin
5656

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

0 commit comments

Comments
 (0)