File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ [target.x86_64-unknown-redox]
2+ linker = "x86_64-unknown-redox-gcc"
Original file line number Diff line number Diff line change @@ -25,10 +25,15 @@ matrix:
2525 - rust : nightly
2626 os : osx
2727 env : FEATURES=nightly
28+ - rust : nightly
29+ os : linux
30+ env : FEATURES=nightly,redox CC=x86_64-unknown-redox-gcc CARGO_ARGS='--no-default-features --target=x86_64-unknown-redox' REDOX=1
2831cache :
2932 directories :
3033 - $HOME/.cargo
31- sudo : false
34+ sudo : true
35+ before_install :
36+ - if [ $REDOX ]; then ./.travis/redox-toolchain.sh; fi
3237script :
33- - cargo build --features "$FEATURES"
34- - cargo test --features "$FEATURES" --no-fail-fast
38+ - cargo build $CARGO_ARGS --features "$FEATURES"
39+ - if [ ! $REDOX ]; then cargo test $CARGO_ARGS --features "$FEATURES" --no-fail-fast; fi
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ rustup target add x86_64-unknown-redox
4+ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys AA12E97F0881517F
5+ sudo add-apt-repository ' deb https://static.redox-os.org/toolchain/apt /'
6+ sudo apt-get update -qq
7+ sudo apt-get install -y x86-64-unknown-redox-gcc
You can’t perform that action at this time.
0 commit comments