Bladeren bron

trying to fix travis

Daniel Zlotin 8 jaren geleden
bovenliggende
commit
f62cce4897
2 gewijzigde bestanden met toevoegingen van 4 en 5 verwijderingen
  1. 1
    0
      .travis.yml
  2. 3
    5
      scripts/test.ios.js

+ 1
- 0
.travis.yml Bestand weergeven

38
   - yarn run test-js
38
   - yarn run test-js
39
   - yarn run test-android
39
   - yarn run test-android
40
   - yarn run test-ios
40
   - yarn run test-ios
41
+  - cd playground && yarn run e2e release
41
   - yarn run release
42
   - yarn run release
42
   - set +e
43
   - set +e
43
 
44
 

+ 3
- 5
scripts/test.ios.js Bestand weergeven

1
 const exec = require('shell-utils').exec;
1
 const exec = require('shell-utils').exec;
2
 
2
 
3
 function run() {
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
 run();
9
 run();