Enable passing allow_failure builds (#644)

This commit is contained in:
gnzlbg 2019-01-22 17:57:17 +01:00 committed by Alex Crichton
parent 11c624e488
commit 8bfa74b5e7
2 changed files with 10 additions and 16 deletions

View file

@ -98,15 +98,8 @@ matrix:
- shellcheck --version
- shellcheck ci/*.sh
allow_failures:
# FIXME https://github.com/rust-lang/libc/issues/1170
- name: "arm-linux-androideabi - no assert_instr"
- name: "aarch64-linux-android - no assert_instr"
# clippy changes enough from time to time that it breaks relatively
# regularly
- name: "clippy"
# qemu seems to intermittently segfault...
- name: "powerpc-unknown-linux-gnu - no assert_instr"
- name: "clippy"
install: travis_retry rustup target add $TARGET
script:
- cargo generate-lockfile

View file

@ -65,13 +65,14 @@ cargo_test() {
cmd="$cmd -p core_arch -p std_detect -p stdsimd_examples"
fi
cmd="$cmd -- $2"
if [ "$NORUN" != "1" ]
then
if [ "$TARGET" != "wasm32-unknown-unknown" ]
then
cmd="$cmd --quiet"
fi
fi
# Un-commenting this disables the test output and shows only a summary:
#if [ "$NORUN" != "1" ]
#then
# if [ "$TARGET" != "wasm32-unknown-unknown" ]
# then
# cmd="$cmd --quiet"
# fi
#fi
if [ "$CROSS" = "1" ]
then
cmd="$cmd --emit=asm"