Skip to content

Commit

Permalink
ci: coverage on master only
Browse files Browse the repository at this point in the history
  • Loading branch information
marabesi committed Nov 7, 2020
1 parent 369b8b2 commit 3b3ff3e
Show file tree
Hide file tree
Showing 3 changed files with 1,707 additions and 1,910 deletions.
15 changes: 10 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
language: node_js

node_js:
- "14"
- 14

before_script:
- cd webapp/
- chmod +x ./prebuild.sh
Expand All @@ -9,14 +11,17 @@ before_script:
- npm install

script:
- npm run build
- npm run test
- npm run coveralls
- npm run build && npm run test

coverage:
script: npm run coveralls
on:
branch: master

after_success:
- ./deploy.sh

env:
global:
- GH_REPO="marabesi/testable"
- REACT_APP_BASE_NAME="/testable"
- REACT_APP_BASE_NAME="/testable"
Loading

0 comments on commit 3b3ff3e

Please sign in to comment.