Skip to content

Commit 06f0719

Browse files
committed
CI: Setup TestApp tests for macOS
1 parent ed1ed2c commit 06f0719

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

scripts/travis-build.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash -e
22

3+
4+
35
git clone https://github.com/creationix/nvm.git /tmp/.nvm
46
source /tmp/.nvm/nvm.sh
57
nvm install "$NODE_VERSION"
@@ -12,6 +14,8 @@ if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
1214
elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
1315
brew update
1416
brew install yarn
17+
brew tap wix/brew
18+
brew install applesimutils
1519
fi
1620

1721
node --version
@@ -23,3 +27,10 @@ yarn lint
2327
yarn test
2428
yarn build
2529
yarn test-e2e
30+
31+
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
32+
cd __e2e__/TestApp
33+
yarn
34+
yarn build-test-ios
35+
yarn test-ios
36+
fi

0 commit comments

Comments
 (0)