From 03c874cb7faa740c031c17bdb4cd19ff3f582c87 Mon Sep 17 00:00:00 2001 From: James Ide Date: Wed, 23 Sep 2015 14:01:21 -0700 Subject: [PATCH] [Tests] Move the packager and cli tests to separate matrix entries The packager and cli tests now run independently of the RN JS tests. When the packager moves to its own repo we can just remove the packager entry from .travis.yml. The cli tests are also marked as allowed to fail for now. --- .travis.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 27a58332c..32ad8b32d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,7 +28,17 @@ script: elif [ "$TEST_TYPE" = js ] then - flow check && npm test + flow check && npm test -- '\/Libraries\/' + + elif [ "$TEST_TYPE" = packager ] + then + + npm test -- '\/packager\/' + + elif [ "$TEST_TYPE" = cli ] + then + + npm test -- '\/(local|private|react-native)-cli\/' elif [ "$TEST_TYPE" = build_website ] then @@ -57,8 +67,12 @@ env: matrix: - TEST_TYPE=objc - TEST_TYPE=js + - TEST_TYPE=packager + - TEST_TYPE=cli - TEST_TYPE=build_website - TEST_TYPE=e2e + allow_failures: + - TEST_TYPE=cli global: - secure: "HlmG8M2DmBUSBh6KH1yVIe/8gR4iibg4WfcHq1x/xYQxGbvleq7NOo04V6eFHnl9cvZCu+PKH0841WLnGR7c4BBf47GVu/o16nXzggPumHKy++lDzxFPlJ1faMDfjg/5vjbAxRUe7D3y98hQSeGHH4tedc8LvTaFLVu7iiGqvjU="