Use single threads for testing

I actually couldn't find a reference to CARGO_TEST_THREADS in the
current cargo codebase, but RUST_TEST_THREADS is definitely correct.
This should reduce some spurious failures on some platforms.
This commit is contained in:
Bryant Mairs 2017-07-03 10:40:19 -07:00
parent 274b09eee1
commit d2508e3a44
2 changed files with 3 additions and 1 deletions

View File

@ -9,7 +9,7 @@ sudo: required
env:
global:
- CRATE_NAME=nix
- CARGO_TEST_THREADS=1
- RUST_TEST_THREADS=1
matrix:
# These are all the build jobs. Adjust as necessary. Comment out what you

2
Cross.toml Normal file
View File

@ -0,0 +1,2 @@
[build.env]
passthrough = ["RUST_TEST_THREADS"]