chore: fix travis build for PRs

This commit is contained in:
Roman Hotsiy 2018-05-31 16:18:08 +03:00
parent bde08f1283
commit 39f54d0cc6
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0

View File

@ -15,7 +15,7 @@ env:
addons: addons:
chrome: stable chrome: stable
before_script: npm run bundle before_script: npm run bundle
script: npm test && npm run e2e-ci script: npm test && [ "${TRAVIS_PULL_REQUEST}" = "false" ] && npm run e2e-ci || npm run e2e
after_script: cat ./coverage/lcov.info | coveralls after_script: cat ./coverage/lcov.info | coveralls
before_deploy: npm run compile:cli && npm run declarations before_deploy: npm run compile:cli && npm run declarations
deploy: deploy: