Skip to content

Commit ca9a795

Browse files
committed
Update CI script
1 parent 06f0719 commit ca9a795

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

scripts/travis-build.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ source /tmp/.nvm/nvm.sh
77
nvm install "$NODE_VERSION"
88
nvm use --delete-prefix "$NODE_VERSION"
99

10+
node --version
11+
npm --version
12+
1013
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
1114
export DISPLAY=:99.0
1215
sh -e /etc/init.d/xvfb start
@@ -16,10 +19,9 @@ elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
1619
brew install yarn
1720
brew tap wix/brew
1821
brew install applesimutils
19-
fi
2022

21-
node --version
22-
npm --version
23+
cd __e2e__/TestApp && yarn && cd ..
24+
fi
2325

2426
yarn
2527
cd npm-package && yarn && cd ..
@@ -29,8 +31,6 @@ yarn build
2931
yarn test-e2e
3032

3133
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
32-
cd __e2e__/TestApp
33-
yarn
3434
yarn build-test-ios
3535
yarn test-ios
3636
fi

0 commit comments

Comments
 (0)