Skip to content

Commit

Permalink
💚 Upload code coverage to codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
toureholder committed Jun 18, 2019
1 parent 37df33f commit 38f87f6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
.buildlog/
.history
.svn/
coverage/

# IntelliJ related
*.iml
Expand Down
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ install:
- flutter doctor -v
- flutter packages get
script:
- flutter test
- flutter test --coverage --coverage-path=lcov.info
after_success:
- bash <(curl -s https://codecov.io/bash)
cache:
directories:
- $HOME/.pub-cache
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Flutter beginner's workshop

[![Build Status](https://travis-ci.com/toureh/flutter_workshop.svg?branch=master)](https://travis-ci.com/toureh/flutter_workshop)
[![codecov](https://codecov.io/gh/toureh/flutter_workshop/branch/master/graph/badge.svg)](https://codecov.io/gh/toureh/flutter_workshop)

This repository contains a sample app the I use to give workshops geared towards beginners to Flutter. I've made an effort to keep the git history clean so that each commit represents a significant building block in the app.

Expand All @@ -18,6 +19,7 @@ This repository contains a sample app the I use to give workshops geared towards
* Dependency injection with InheritedWidget
* Unit and widget tests
* Continuous integration pipelines with Travis CI
* Uploading code coverage to Codecov


## Getting Started
Expand Down

0 comments on commit 38f87f6

Please sign in to comment.