chore(release): Build files before running tests

Files should be built before running tests, since Cypress requires those files
This commit is contained in:
Faris Ansari 2018-07-07 22:30:15 +05:30
parent 48e0034eb1
commit 9ed446194d

View File

@ -14,7 +14,7 @@ notifications:
install: install:
- npm install - npm install
script: script:
- npm run test
- npm run build - npm run build
- npm run test
after_success: after_success:
- ./node_modules/.bin/travis-deploy-once "npm run semantic-release" - ./node_modules/.bin/travis-deploy-once "npm run semantic-release"