From 1148acaf186ce94161ee86c2df994028de8a2ae4 Mon Sep 17 00:00:00 2001 From: Justin Date: Thu, 29 Aug 2019 12:39:52 -0400 Subject: [PATCH] chore: Fixing coverage push --- .gitignore | 1 + .travis.yml | 15 +++++---------- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index e9f99fd3..16a656c8 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ dist coverage .rpt2_cache .idea +.DS_Store diff --git a/.travis.yml b/.travis.yml index c61bbf90..52cf2a62 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,6 @@ stages: - lint - build - test - - coverage - release notifications: @@ -12,7 +11,6 @@ notifications: cache: directories: - - coverage - dist jobs: @@ -21,7 +19,7 @@ jobs: node_js: node script: - npm run lint - - npm run lint:doc # Semantic release modified the md files that are not styled correctly. + - prettier --check './*.json' './*.yml' - &build stage: build @@ -37,7 +35,8 @@ jobs: node_js: lts/* name: 'Unit Tests Latest LTS' script: - - npm run test:unit -- --collectCoverage + - npm run test:unit -- --coverage + - npm run coverage - &test-integration stage: test @@ -53,7 +52,8 @@ jobs: - echo $GITLAB_URL - echo $PERSONAL_ACCESS_TOKEN script: - - npm run test:integration -- --collectCoverage + - npm run test:integration -- --coverage + - npm run coverage - <<: *test-unit name: 'Unit Tests Latest' @@ -67,11 +67,6 @@ jobs: script: - npm run test:integration - - stage: coverage - node_js: node - script: - - npm run coverage - - stage: release node_js: node script: