Skip to content

Commit

Permalink
ci: Set up COVERALLS_PARALLEL
Browse files Browse the repository at this point in the history
  • Loading branch information
Alorel committed Oct 25, 2019
1 parent d7acf51 commit d3a6d85
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,32 @@
language: node_js
node_js: stable
env:
global:
- COVERALLS_PARALLEL=true

before_install:
- npm i -g yarn greenkeeper-lockfile
- greenkeeper-lockfile-update
install: yarn install --check-files

script:
- yarn run tslint
- yarn test
- yarn run build:demo:aot
- if [[ $GH_TOKEN ]]; then semantic-release --dry-run; fi;
before_cache: rm -rf ./node_modules/.cache

after_script: if [[ $GH_TOKEN ]]; then greenkeeper-lockfile-upload; fi;
after_success: cat ./coverage/lcov.info | coveralls

before_cache: rm -rf ./node_modules/.cache
cache:
yarn: true

stages:
- Test
- name: Release
if: branch = master AND type = push AND (NOT tag IS present)

jobs:
include:
- stage: Test
Expand All @@ -35,3 +44,5 @@ jobs:
after_success: []
after_script: []

notifications:
webhooks: https://coveralls.io/webhook

0 comments on commit d3a6d85

Please sign in to comment.