summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
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