Re-order the TravisCI test matrix based on historical run times
Summary:Travis CI runs the test matrix in the order specified in the YAML file. When there are enough available test VMs this doesn't matter since all matrix entries run in parallel, but we often don't have enough free VMs. So when there's a free VM, start running the slowest tests first. This way as more VMs become free, they will run the faster tests and can catch up. This should minimize the time required for a PR to turn green. Closes https://github.com/facebook/react-native/pull/6828 Differential Revision: D3144236 fb-gh-sync-id: 1a3242767f02469b0384bb871d6c4c1e505aa442 fbshipit-source-id: 1a3242767f02469b0384bb871d6c4c1e505aa442
This commit is contained in:
parent
86d5c5249b
commit
29a1a05cbb
|
@ -23,9 +23,9 @@ script:
|
|||
|
||||
env:
|
||||
matrix:
|
||||
- TEST_TYPE=objc
|
||||
- TEST_TYPE=js
|
||||
- TEST_TYPE=e2e-objc
|
||||
- TEST_TYPE=js
|
||||
- TEST_TYPE=objc
|
||||
|
||||
branches:
|
||||
only:
|
||||
|
|
Loading…
Reference in New Issue