about summary refs log tree commit diff
path: root/.circleci
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2018-05-06 17:55:50 +0900
committerEugen Rochko <eugen@zeonfederated.com>2018-05-06 10:55:50 +0200
commit8c35d163a5c50eeb30220141036dac0c5dad295c (patch)
treea0555622017e7cdc9cb981b6ca8b9e2a539f7eb9 /.circleci
parent39efc6d533bc3616ef3e199ab83d7753f07afb4c (diff)
Port travis_retry for CI (#7379)
* Port travis_retry for CI

* Add license
Diffstat (limited to '.circleci')
-rw-r--r--.circleci/config.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 70d03f6b9..fc9c7e22b 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -90,7 +90,7 @@ aliases:
             command: ./bin/rails parallel:create parallel:load_schema parallel:prepare
         - run:
             name: Run Tests
-            command: bundle exec parallel_test ./spec/ --group-by filesize --type rspec
+            command: ./bin/retry bundle exec parallel_test ./spec/ --group-by filesize --type rspec
 
 jobs:
   install:
@@ -150,7 +150,7 @@ jobs:
       - image: circleci/node:8.11.1-stretch
     steps:
       - *attach_workspace
-      - run: yarn test:jest
+      - run: ./bin/retry yarn test:jest
 
   check-i18n:
     <<: *defaults