Skip to content

Instantly share code, notes, and snippets.

@hamzahamidi
Created March 10, 2020 21:24
Show Gist options
  • Save hamzahamidi/c300df4040ae424aa9a5d60714e181e4 to your computer and use it in GitHub Desktop.
Save hamzahamidi/c300df4040ae424aa9a5d60714e181e4 to your computer and use it in GitHub Desktop.
language: node_js
node_js:
- "12"
addons:
chrome: stable
env:
global:
CODECOV_TOKEN=$CODECOV_TOKEN
before_script:
- yarn install
jobs:
include:
- stage: Test coverage
script:
- ng test --browsers=ChromeHeadlessNoSandbox --codeCoverage=true --watch=false
after_script:
- if [[ "$TRAVIS_TEST_RESULT" == 0 ]]; then ./node_modules/.bin/codecov; fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment