Skip to content

Commit

Permalink
Update CI script
Browse files Browse the repository at this point in the history
  • Loading branch information
jhen0409 committed Feb 13, 2019
1 parent 06f0719 commit ecac16a
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions scripts/travis-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ source /tmp/.nvm/nvm.sh
nvm install "$NODE_VERSION"
nvm use --delete-prefix "$NODE_VERSION"

node --version
npm --version

if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
export DISPLAY=:99.0
sh -e /etc/init.d/xvfb start
Expand All @@ -18,9 +21,7 @@ elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
brew install applesimutils
fi

node --version
npm --version

cd __e2e__/TestApp && yarn && cd ..
yarn
cd npm-package && yarn && cd ..
yarn lint
Expand All @@ -29,8 +30,6 @@ yarn build
yarn test-e2e

if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
cd __e2e__/TestApp
yarn
yarn build-test-ios
yarn test-ios
fi

0 comments on commit ecac16a

Please sign in to comment.