Skip to content

Split rustfmt into its own travis shard#173

Merged
bradleybeddoes merged 1 commit intogotham-rs:masterfrom
illicitonion:shardtravis
Mar 5, 2018
Merged

Split rustfmt into its own travis shard#173
bradleybeddoes merged 1 commit intogotham-rs:masterfrom
illicitonion:shardtravis

Conversation

@illicitonion
Copy link
Contributor

Right now, 3 shards separately spend ~10 minutes building a release
version of rustfmt from source so that they can perform the same <1s
check over the same source code.

Instead, one shard will compile and run rustfmt, while the other 3 will
just run the tests.

rustfmt passing with a stable cargo version should be sufficient.

This should speed up travis, perform less redundant work, and make test
shards less likely to timeout.

Right now, 3 shards separately spend ~10 minutes building a release
version of rustfmt from source so that they can perform the same <1s
check over the same source code.

Instead, one shard will compile and run rustfmt, while the other 3 will
just run the tests.

rustfmt passing with a stable `cargo` version should be sufficient.

This should speed up travis, perform less redundant work, and make test
shards less likely to timeout.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants