Skip to content

Commit 5b3949a

Browse files
committed
Use one test thread for now
Hopefully fixes errors on OSX!
1 parent d34c1d6 commit 5b3949a

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.travis.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,17 @@ install:
3333

3434
script:
3535
- cargo build --verbose
36-
- cargo test --verbose $NO_RUN
37-
- cargo test --verbose --features parallel $NO_RUN
36+
# FIXME: no idea why `--test-threads=1` is required on the OSX builder, it
37+
# just randomly broke one day when the travis image was upgraded, and
38+
# debugging turned up no easily found source of bugs...
39+
#
40+
# good build - https://travis-ci.org/alexcrichton/cc-rs/builds/409602374
41+
# bad build - https://travis-ci.org/alexcrichton/cc-rs/builds/410489079
42+
#
43+
# Those are using the same compiler, same commit, same... everything. Except
44+
# the OSX image! No idea what changed...
45+
- cargo test --verbose $NO_RUN -- --test-threads=1
46+
- cargo test --verbose --features parallel $NO_RUN -- --test-threads=1
3847
- cargo test --manifest-path cc-test/Cargo.toml --target $TARGET $NO_RUN
3948
- cargo test --manifest-path cc-test/Cargo.toml --target $TARGET --features parallel $NO_RUN
4049
- cargo test --manifest-path cc-test/Cargo.toml --target $TARGET --release $NO_RUN

0 commit comments

Comments
 (0)