Skip to content

Commit

Permalink
build(travis): make scripts multiline
Browse files Browse the repository at this point in the history
  • Loading branch information
Frazer Smith committed Jul 22, 2020
1 parent 466d18d commit 39856a6
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,20 @@ branches:
- /^v\d*\.\d*\.\d*$/
- /^dependabot/.*$/

script: echo "Running tests against $(node -v)..." && yarn test
script:
- echo "Running tests against $(node -v)..."
- yarn test

jobs:
include:
- 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
script:
- jest --coverage
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
- rm -rf ./coverage
- stage: deploy
name: NPM release
node_js: lts/*
Expand Down

0 comments on commit 39856a6

Please sign in to comment.