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
     - PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
9
     - PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
10
     - YARN_CACHE=$HOME/.yarn-cache
10
     - YARN_CACHE=$HOME/.yarn-cache
11
     - CODE_SIGNING_REQUIRED=NO
11
     - CODE_SIGNING_REQUIRED=NO
12
+    - RCT_NO_LAUNCH_PACKAGER=true
12
 
13
 
13
 branches:
14
 branches:
14
   only:
15
   only:

+ 1
- 1
scripts/clean.js View File

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