We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 62ff639 + a2b3b5a commit 6271f56Copy full SHA for 6271f56
.travis.yml
@@ -26,7 +26,13 @@ env:
26
27
before_install:
28
- export CARGO_TARGET_DIR="$TRAVIS_BUILD_DIR/target"
29
- - curl -sSL https://sh.rustup.rs | sh -s -- -y --default-toolchain=nightly --profile=minimal
+ - |
30
+ case "$TRAVIS_OS_NAME" in
31
+ linux ) HOST=x86_64-unknown-linux-gnu;;
32
+ osx ) HOST=x86_64-apple-darwin;;
33
+ windows ) HOST=x86_64-pc-windows-msvc;;
34
+ esac
35
+ - curl -sSL https://sh.rustup.rs | sh -s -- -y --default-host="$HOST" --default-toolchain=nightly --profile=minimal
36
- export PATH="$HOME/.cargo/bin:$PATH"
37
install:
38
- |
0 commit comments