summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-06-30 03:19:43 +0000
committerGitHub <noreply@github.com>2020-06-30 03:19:43 +0000
commitf6cac16f6f9104b3cf257bdba1cc6999f2da9a69 (patch)
tree60bcb644aa9852e097e4770d2bf3161ba4b04fa2 /.travis.yml
parent2c42b302ed78b8cfc45560b26f01487005c4ccd1 (diff)
parentc339ce10181509be55e32db390b1dfafb2ea5e27 (diff)
downloadnix-f6cac16f6f9104b3cf257bdba1cc6999f2da9a69.zip
Merge #1263
1263: Don't run redoxer in CI r=asomers a=asomers It's unreliable. It frequently hangs starting the Docker image, before Cargo gets involved. Instead, use cargo to do a cross-build for Redox. Do it manually, since rust-embedded/cross doesn't support Redox. https://github.com/nix-rust/nix/issues/1258 https://github.com/rust-embedded/cross/issues/427 Co-authored-by: Alan Somers <asomers@gmail.com>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml11
1 files changed, 9 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 12384a54..285c161c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -95,11 +95,18 @@ matrix:
script:
- cargo update -Zminimal-versions
- cargo check
+
+ # Redoxer is too unreliable, so we'll do a cross-build only
+ # See also:
+ # https://github.com/nix-rust/nix/issues/1258
+ # https://github.com/rust-embedded/cross/issues/427
- language: generic
name: redox
script:
- - docker pull redoxos/redoxer
- - docker run -v $(pwd):$(pwd) -w $(pwd) redoxos/redoxer sh -c 'rm -rf ~/.redoxer && redoxer test'
+ - curl --proto '=https' --tlsv1.2 -sSf --output rustup.sh https://sh.rustup.rs
+ - sh rustup.sh -y --profile=minimal --default-toolchain 1.36.0 --target x86_64-unknown-redox
+ - . $HOME/.cargo/env
+ - cargo build --all-targets
before_install: set -e