Daniel Zlotin 6 gadus atpakaļ
vecāks
revīzija
ee85c77b6d
2 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1
    0
      .travis.yml
  2. 0
    1
      scripts/test.e2e.ios.js

+ 1
- 0
.travis.yml Parādīt failu

20
       before_install:
20
       before_install:
21
         - source ./scripts/env/env.ios.sh
21
         - source ./scripts/env/env.ios.sh
22
       script:
22
       script:
23
+        - brew install ffmpeg --with-ffplay
23
         # - ./scripts/travis-fold.sh "npm run test-unit-ios -- --release"
24
         # - ./scripts/travis-fold.sh "npm run test-unit-ios -- --release"
24
         - ./scripts/travis-fold.sh "npm run test-e2e-ios -- --release"
25
         - ./scripts/travis-fold.sh "npm run test-e2e-ios -- --release"
25
 
26
 

+ 0
- 1
scripts/test.e2e.ios.js Parādīt failu

16
 }
16
 }
17
 
17
 
18
 function startRecording() {
18
 function startRecording() {
19
-  exec.execSync(`ffmpeg -f avfoundation -list_devices true -i ""`);
20
   const screenId = exec.execSyncRead(`ffmpeg -f avfoundation -list_devices true -i "" 2>&1 | grep "Capture screen 0" | sed -e "s/.*\\[//" -e "s/\\].*//"`);
19
   const screenId = exec.execSyncRead(`ffmpeg -f avfoundation -list_devices true -i "" 2>&1 | grep "Capture screen 0" | sed -e "s/.*\\[//" -e "s/\\].*//"`);
21
   exec.execAsync(`ffmpeg -f avfoundation -i "${screenId}:none" out.avi`);
20
   exec.execAsync(`ffmpeg -f avfoundation -i "${screenId}:none" out.avi`);
22
 }
21
 }