浏览代码

try fix travis

Daniel Zlotin 7 年前
父节点
当前提交
a55128a0bc
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2
    0
      scripts/test.e2e.ios.js

+ 2
- 0
scripts/test.e2e.ios.js 查看文件

9
   try {
9
   try {
10
     const conf = release ? `release` : `debug`;
10
     const conf = release ? `release` : `debug`;
11
     exec.execSync(`detox build --configuration ios.sim.${conf}`);
11
     exec.execSync(`detox build --configuration ios.sim.${conf}`);
12
+
12
     exec.execAsync(`sleep 10`).then(() => {
13
     exec.execAsync(`sleep 10`).then(() => {
13
       exec.execAsync(`open /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app`);
14
       exec.execAsync(`open /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app`);
14
     });
15
     });
16
+
15
     startRecording();
17
     startRecording();
16
     exec.execSync(`detox test --configuration ios.sim.${conf} ${process.env.CI ? '--cleanup' : ''}`);
18
     exec.execSync(`detox test --configuration ios.sim.${conf} ${process.env.CI ? '--cleanup' : ''}`);
17
   } finally {
19
   } finally {