Browse Source

trying to fix travis

Daniel Zlotin 7 years ago
parent
commit
f62cce4897
2 changed files with 4 additions and 5 deletions
  1. 1
    0
      .travis.yml
  2. 3
    5
      scripts/test.ios.js

+ 1
- 0
.travis.yml View File

@@ -38,6 +38,7 @@ script:
38 38
   - yarn run test-js
39 39
   - yarn run test-android
40 40
   - yarn run test-ios
41
+  - cd playground && yarn run e2e release
41 42
   - yarn run release
42 43
   - set +e
43 44
 

+ 3
- 5
scripts/test.ios.js View File

@@ -1,11 +1,9 @@
1 1
 const exec = require('shell-utils').exec;
2 2
 
3 3
 function run() {
4
-  process.chdir('./playground');
5
-  exec.execSync(`hardlink node_modules/react-native-navigation/ -u || true`);
6
-  exec.execSync(`yarn install`);
7
-  exec.execSync(`yarn run e2e release`);
8
-  process.chdir('../');
4
+  exec.execSync(`cd playground && hardlink node_modules/react-native-navigation/ -u || true`);
5
+  exec.execSync(`cd playground && yarn install`);
6
+  //exec.execSync(`cd playground && yarn run e2e release`);
9 7
 }
10 8
 
11 9
 run();