aboutsummaryrefslogtreecommitdiff
path: root/ci/install.sh
diff options
context:
space:
mode:
authorGravatar Jorge Aparicio <jorge@japaric.io> 2017-05-30 12:02:49 -0500
committerGravatar Jorge Aparicio <jorge@japaric.io> 2017-05-30 12:02:49 -0500
commitfc9e6762187941b5a0457acef6899dfacc552d53 (patch)
tree6b5c71e85b6a4a082626df20f3086deb2c533ff6 /ci/install.sh
parentf1bdfaa082d4e1c471de0c435e72cd02d2a825dd (diff)
downloadcortex-m-fc9e6762187941b5a0457acef6899dfacc552d53.tar.gz
cortex-m-fc9e6762187941b5a0457acef6899dfacc552d53.tar.zst
cortex-m-fc9e6762187941b5a0457acef6899dfacc552d53.zip
update the CI stuff
Diffstat (limited to 'ci/install.sh')
-rw-r--r--ci/install.sh16
1 files changed, 1 insertions, 15 deletions
diff --git a/ci/install.sh b/ci/install.sh
index 550a548..4c39fd3 100644
--- a/ci/install.sh
+++ b/ci/install.sh
@@ -1,21 +1,7 @@
set -ex
main() {
- curl https://sh.rustup.rs -sSf | \
- sh -s -- -y --default-toolchain $TRAVIS_RUST_VERSION
-
- local tag=$(git ls-remote --tags --refs --exit-code https://github.com/japaric/cross \
- | cut -d/ -f3 \
- | grep -E '^v[0-9.]+$' \
- | sort --version-sort \
- | tail -n1)
- curl -LSfs http://japaric.github.io/trust/install.sh | \
- sh -s -- \
- --force \
- --git japaric/cross \
- --tag $tag \
- --target x86_64-unknown-linux-musl \
- --to ~/.cargo/bin
+ return
}
# NOTE(TRAVIS_BRANCH) Travis is configured to only build *pushes* (not PRs)