From 29a1a05cbb980732ebc97b4f37030224e7ed3d7e Mon Sep 17 00:00:00 2001 From: James Ide Date: Wed, 6 Apr 2016 03:42:27 -0700 Subject: [PATCH] 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 --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index b8210baa5..5f19c6b84 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: