ci(config): kill ffmpeg

This commit is contained in:
George Lima 2019-01-25 13:57:47 -03:00
parent 007973ecb6
commit 4aa03cf38a
1 changed files with 3 additions and 3 deletions

View File

@ -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 & tmux new-session -d -s E2ERecordSession1 'ffmpeg -f x11grab -video_size 1024x768 -i :99 -codec:v libx264 -r 12 /tmp/e2e-record.mp4'
sleep 40
tmux send-keys -t E2ERecordSession1 'q'
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
- store_artifacts:
path: /tmp/e2e-record.mp4
destination: e2e-record.mp4