Browse Source

release on travis

Daniel Zlotin 7 years ago
parent
commit
caf9ca7b67
2 changed files with 1 additions and 6 deletions
  1. 0
    5
      scripts/test.e2e.ios.js
  2. 1
    1
      scripts/travis.sh

+ 0
- 5
scripts/test.e2e.ios.js View File

@@ -36,14 +36,9 @@ function runDetoxUsingMocha() {
36 36
 
37 37
 function e2e() { //eslint-disable-line
38 38
   try {
39
-    if (process.env.CI) {
40
-      exec.execSync(`yarn run start &`);
41
-      exec.execSync(`sleep 5`);
42
-    }
43 39
     runDetoxUsingMocha();
44 40
   } finally {
45 41
     if (process.env.CI) {
46
-      exec.kill(`react-native/local-cli/cli.js start`);
47 42
       exec.kill(`Simulator`);
48 43
       exec.kill(`CoreSimulator`);
49 44
       exec.execSync(`sleep 5`);

+ 1
- 1
scripts/travis.sh View File

@@ -24,5 +24,5 @@ run_f "yarn run test-js"
24 24
 run_f "yarn run test-unit-android"
25 25
 run_f "yarn run test-unit-ios"
26 26
 run_f "yarn run test-e2e-android"
27
-run_f "yarn run test-e2e-ios"
27
+run_f "yarn run test-e2e-ios -- release"
28 28
 run_f "yarn run release"