diff --git a/.travis.yml b/.travis.yml index 67f71c7..41d0842 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,10 +24,12 @@ jobs: script: yarn install - stage: coverage script: + - yarn install-test-client - yarn test:cypress:install - yarn test:coverage - stage: send-coverage script: + - yarn install-test-client - yarn test:cypress:install - yarn test:coverage - yarn send-coverage diff --git a/package.json b/package.json index d57d4b5..58a320f 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "scripts": { "serve": "cd tests/client ; yarn serve", "build": "vue-cli-service build --target lib --name vuuri src/index.js", + "install-test-client": "cd tests/client ; yarn install ; cd ../..", "test": "start-server-and-test serve \"http://localhost:9999\" test:cypress:run", "test:coverage": "start-server-and-test serve \"http://localhost:9999\" test:cypress:coverage", "test:unit": "vue-cli-service test:unit",