Commit Graph

7 Commits

Author SHA1 Message Date
Alan Somers
bf7a5fd606 Switch all builds from Travis to Cirrus
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
2020-12-06 22:35:30 -07:00
Bryant Mairs
112dca300c Support building and testing multiple targets at once
Specifying multiple targets can be done by setting the
environment variable to a semi-colon delimited list of
targets.
2017-12-08 17:55:13 -08:00
Kamal Marhubi
25ce053a2d ci: Allow skipping tests when running under CI
This adds `--cfg=travis` to builds under CI, allowing tests to be
conditionally ignored by marking them with

    #[cfg_attr(travis, ignore)]

refs #568
2017-04-16 23:51:18 -04:00
Zac Berkowitz
22c37c25f9 Removed commented cargo run targets in CI 2017-04-09 07:41:58 -07:00
Zac Berkowitz
1e84da2acf Removed 'cargo run' directives from ci script. 2017-04-09 07:41:58 -07:00
Zac Berkowitz
c1dd033104 Fixed ci/script.sh to run tests when desired. 2017-04-09 07:41:58 -07:00
Zac Berkowitz
ee2bff1cc4 Added ci templates from trust v0.1.1 2017-04-09 07:41:58 -07:00