From ffe73a308edb3ad6caa1b90841a229192775c680 Mon Sep 17 00:00:00 2001 From: George Lima Date: Fri, 25 Jan 2019 14:12:29 -0300 Subject: [PATCH] ci(config): fix tmux cmd --- .circleci/config.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8ccb938..667f0cb 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -23,9 +23,9 @@ jobs: - run: yarn wait-on http://localhost:8080 && yarn wait-on http://localhost:18232 - run: export DISPLAY=:99 - run: | - xvfb-run --listen-tcp --server-num=99 --auth-file /tmp/xvfb.auth -s "-ac -screen 0 1024x768x24" yarn e2e:run & ffmpeg -f x11grab -video_size 1024x768 -i :99 -codec:v libx264 -r 12 /tmp/e2e-record.mp4 - sleep 30 - killall ffmpeg + xvfb-run --listen-tcp --server-num=99 --auth-file /tmp/xvfb.auth -s "-ac -screen 0 1024x768x24" yarn e2e:run & tmux new-session -d -s E2ERecord1 "ffmpeg -f x11grab -video_size 1024x768 -i :99 -codec:v libx264 -r 12 /tmp/e2e-record.mp4" + sleep 40 + tmux send-keys -t E2ERecord1 "q" - store_artifacts: path: /tmp/e2e-record.mp4 destination: e2e-record.mp4