Forked from
redox-os / relibc
2298 commits behind the upstream repository.
-
Ian Douglas Scott authored
This makes it easy to see which target failed to build.
Ian Douglas Scott authoredThis makes it easy to see which target failed to build.
.travis.yml 419 B
language: rust
env:
-
- TARGET=aarch64-unknown-linux-gnu
- TARGET=x86_64-unknown-redox
rust:
- nightly
cache: cargo
before_script:
- rustup component add rustfmt-preview
- if [ -n "$TARGET" ]; then rustup target add $TARGET; fi
script:
- ./fmt.sh -- --write-mode=diff
- cargo build $([ -n "$TARGET" ] && echo --target="$TARGET")
- if [ -z "$TARGET" ]; then ./test.sh; fi
notifications:
email: false