Browse Source

pre-start iOS sim

Daniel Zlotin 7 years ago
parent
commit
5d4a099349
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      .travis.yml

+ 5
- 0
.travis.yml View File

19
     - $YARN_CACHE
19
     - $YARN_CACHE
20
     - $HOME/.m2
20
     - $HOME/.m2
21
 
21
 
22
+before_install:
23
+  - export IOS_SIMULATOR_UDID=`instruments -s devices | grep "iPhone 7" | awk -F '[ ]' '{print $4}' | awk -F '[\[]' '{print $2}' | sed 's/.$//'`
24
+  - echo $IOS_SIMULATOR_UDID
25
+  - open -a "simulator" --args -CurrentDeviceUDID $IOS_SIMULATOR_UDID
26
+
22
 install:
27
 install:
23
   # node
28
   # node
24
   - curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.1/install.sh | bash
29
   - curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.1/install.sh | bash