Browse Source

run e2e on travis

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

+ 1
- 2
.travis.yml View File

@@ -25,7 +25,6 @@ before_cache:
25 25
   - rm -rf $HOME/.gradle/caches/*/plugin-resolution/
26 26
 
27 27
 install:
28
-  - java -version
29 28
   - nvm install $NODE_VERSION
30 29
   - curl -o- -L https://yarnpkg.com/install.sh | bash
31 30
   - yarn config set cache-folder $YARN_CACHE
@@ -37,7 +36,7 @@ script:
37 36
   - yarn run lint
38 37
   - yarn run test-js
39 38
   - yarn run test-android
40
-  #- yarn run test-ios
39
+  - yarn run test-ios
41 40
   - yarn run release
42 41
   - set +e
43 42
 

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

@@ -2,6 +2,9 @@ const exec = require('shell-utils').exec;
2 2
 
3 3
 function run() {
4 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`);
5 8
   process.chdir('../');
6 9
 }
7 10