Skip to content

Commit

Permalink
Merge pull request #17 from japaric/rustup
Browse files Browse the repository at this point in the history
ci: simplify rustup install
  • Loading branch information
Jorge Aparicio committed Apr 20, 2016
2 parents f9bb436 + fa2f587 commit 5e262bf
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions ci/install.sh
Original file line number Diff line number Diff line change
@@ -1,17 +1,7 @@
set -ex

install_rustup() {
local td=$(mktemp -d)

pushd $td
curl -O https://static.rust-lang.org/rustup/dist/x86_64-unknown-linux-gnu/rustup-setup
chmod +x rustup-setup
./rustup-setup -y
popd

rm -r $td

rustup default nightly
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain=nightly

rustc -V
cargo -V
Expand Down

0 comments on commit 5e262bf

Please sign in to comment.