Skip to content

Commit

Permalink
build(travis): suppress git log; skip rerunning tests on deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Frazer Smith committed Jul 16, 2020
1 parent 183bf02 commit 3fb542f
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ cache: yarn

dist: bionic

git:
quiet: true

node_js:
- 'lts/*'
- 'node'
Expand All @@ -28,13 +31,16 @@ script: echo "Running tests against $(node -v)..." && yarn test

jobs:
include:
- stage: Produce Coverage
- stage: test
name: produce coverage
node_js: lts/*
os: windows
script: jest --coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage
- stage: NPM release
- stage: deploy
name: NPM release
node_js: lts/*
os: linux
script: skip
deploy:
provider: npm
email: devfrazs@outlook.com
Expand Down

0 comments on commit 3fb542f

Please sign in to comment.