aboutsummaryrefslogtreecommitdiff
path: root/ci/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ci/install.sh')
-rw-r--r--ci/install.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/ci/install.sh b/ci/install.sh
index f409b71..c9ee9ba 100644
--- a/ci/install.sh
+++ b/ci/install.sh
@@ -4,10 +4,13 @@ main() {
curl https://sh.rustup.rs -sSf | \
sh -s -- -y --default-toolchain $TRAVIS_RUST_VERSION
- source ~/.cargo/env
-
curl -LSfs http://japaric.github.io/trust/install.sh | \
- sh -s -- --force --git japaric/cross --tag v0.1.2 --target $TARGET
+ sh -s -- \
+ --force \
+ --git japaric/cross \
+ --tag v0.1.2 \
+ --target $TARGET \
+ --to ~/.cargo/bin
}
# NOTE(TRAVIS_BRANCH) Travis is configured to only build *pushes* (not PRs)