Browse Source

try fix travis

Daniel Zlotin 7 years ago
parent
commit
2e74d2c868
2 changed files with 2 additions and 1 deletions
  1. 1
    0
      .travis.yml
  2. 1
    1
      scripts/clean.js

+ 1
- 0
.travis.yml View File

@@ -9,6 +9,7 @@ env:
9 9
     - PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
10 10
     - YARN_CACHE=$HOME/.yarn-cache
11 11
     - CODE_SIGNING_REQUIRED=NO
12
+    - RCT_NO_LAUNCH_PACKAGER=true
12 13
 
13 14
 branches:
14 15
   only:

+ 1
- 1
scripts/clean.js View File

@@ -3,7 +3,7 @@ const exec = require('shell-utils').exec;
3 3
 run();
4 4
 
5 5
 function run() {
6
-  exec.kill('8081');
6
+  exec.execSync('lsof -t -i tcp:8081 | xargs kill || true');
7 7
   exec.execSync(`watchman watch-del-all || true`);
8 8
   exec.execSync(`adb reverse tcp:8081 tcp:8081 || true`);
9 9
   exec.execSync(`rm -rf lib/ios/DerivedData/`);