mirror of
https://gitee.com/openharmony/third_party_rust_nix
synced 2024-11-23 15:30:45 +00:00
bf7a5fd606
Travis has been super-slow lately (> 6 hours per build). Cirrus is much faster: about 20 minutes. Cirrus also has slightly better test coverage, mainly because it doesn't use SECCOMP. Also, * Fix the Redox CI build. The old Travis configuration didn't actually build for Redox, so we never noticed that Redox can't be built with a stable compiler. Thanks to @coolreader18 for finding this. * Disable the udp_offload tests on cross-tested platforms. These tests are failing with ENOPROTOOPT in Cirrus-CI. I suspect it's due to a lack of support in QEMU. These tests were skipped on Travis because its kernel was too old. * Fix require_kernel_version on Cirrus-CI. Cirrus reports the Linux kernel version as 4.19.112+, which the semver crate can't handle. * Fix test_setfsuid on Cirrus. When run on Cirrus, it seems like the file in /tmp gets deleted as soon as it's closed. Probably an overzealous temporary file cleaner. Use /var/tmp, because no temporary file cleaner should run in there. * Skip mount tests on Cirrus. They fail for an unknown reason. Issue #1351 * Skip the AF_ALG tests on Cirrus-CI Issue #1352
46 lines
1.1 KiB
TOML
46 lines
1.1 KiB
TOML
# Gate on Travis CI and Buildbot
|
|
status = [
|
|
"FreeBSD amd64 & i686",
|
|
"OSX x86_64",
|
|
"OSX i686",
|
|
"iOS",
|
|
"Linux aarch64",
|
|
"Linux arm gnueabi",
|
|
"Linux armv7 gnueabihf",
|
|
"Linux i686",
|
|
"Linux i686 musl",
|
|
"Linux MIPS",
|
|
"Linux MIPS64",
|
|
"Linux MIPS64 el",
|
|
"Linux mipsel",
|
|
"Linux powerpc64le",
|
|
"Rust Stable",
|
|
"Linux x86_64",
|
|
"Linux x86_64 musl",
|
|
"Android aarch64",
|
|
"Android arm",
|
|
"Android armv7",
|
|
"Android i686",
|
|
"Android x86_64",
|
|
"Linux arm-musleabi",
|
|
"Linux powerpc",
|
|
"Linux s390x",
|
|
"Linux s390x",
|
|
"NetBSD x86_64",
|
|
"Redox x86_64",
|
|
"Minver",
|
|
]
|
|
|
|
# Set bors's timeout to 1 hour
|
|
#
|
|
# bors's timeout should always be at least twice as long as the test suite
|
|
# takes. This is to allow Travis to fast-fail a test; if one of the builders
|
|
# immediately reports a failure, then bors will move on to the next batch,
|
|
# leaving the slower builders to work through the already-doomed run and the
|
|
# next one.
|
|
#
|
|
# At the time this was written, nix's test suite took about twenty minutes to
|
|
# run. The timeout was raised to one hour to give nix room to grow and time
|
|
# for delays on Cirrus's end.
|
|
timeout_sec = 3600
|