Skip to content

Commit

Permalink
Moved coverage back to travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
luvies committed Oct 8, 2019
1 parent db6a71d commit 527ffd3
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/nodeci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,15 @@ jobs:
yarn test:ci
env:
CI: true
- name: Push coverage
run: yarn test:coverage
if: matrix.node-version == '12.x'
env:
CI: true
COVERALLS_SERVICE_NAME: Github Workflow
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
COVERALLS_GIT_COMMIT: ${{ github.sha }}
#### Coverage step disabled until coveralls supports github workflow better
# - name: Push coverage
# run: yarn test:coverage
# if: matrix.node-version == '12.x'
# env:
# CI: true
# COVERALLS_SERVICE_NAME: Github Workflow
# COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
# COVERALLS_GIT_COMMIT: ${{ github.sha }}

deploy:
runs-on: ubuntu-latest
Expand Down
18 changes: 18 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
language: node_js

sudo: false

node_js:
- '8'
- '10'
- '12'

install:
- yarn --frozen-lockfile

script:
- yarn lint
- yarn test:ci

after_success:
- yarn test:coverage

0 comments on commit 527ffd3

Please sign in to comment.