Skip to content
This repository was archived by the owner on Jan 26, 2021. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@

# Web related
lib/generated_plugin_registrant.dart

coverage/
# Exceptions to above rules.
!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ before_script:
- chmod +x generate-apks.sh
script:
- ./flutter/bin/flutter build apk
- ./flutter/bin/flutter test --coverage
- bash <(curl -s https://codecov.io/bash)

after_success:
- ./generate-apks.sh
cache:
Expand Down
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# Cross-platform client for Mentorship System

| Branch | [Travis](https://travis-ci.org/) |
| :----------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------------------: |
| [develop](https://github.com/anitab-org/mentorship-flutter/tree/develop) | [![Build Status](https://travis-ci.com/anitab-org/mentorship-flutter.svg?branch=develop)](https://travis-ci.com/anitab-org/mentorship-flutter) |

| Branch | [Travis](https://travis-ci.org/) | Codecov |
| ------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- |
| [develop](https://github.com/anitab-org/mentorship-flutter/tree/develop) | [![Build Status](https://travis-ci.com/anitab-org/mentorship-flutter.svg?branch=develop)](https://travis-ci.com/anitab-org/mentorship-flutter) | [![codecov](https://codecov.io/gh/anitab-org/mentorship-flutter/branch/develop/graph/badge.svg)](https://codecov.io/gh/anitab-org/mentorship-flutter) |



Mentorship System is an application that allows women in tech to mentor each other, on career development topics, through 1:1 relations for a certain period of time.
Expand Down
12 changes: 12 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
comment:
layout: "diff, files"
behavior: new
require_changes: false # if true: only post the comment if coverage changes

coverage:
status:
project:
default:
target: auto # will use the coverage from the base commit
threshold: 0%
base: auto
2 changes: 2 additions & 0 deletions lib/screens/login/bloc/login_state.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,6 @@ class LoginFailure extends LoginState {

@override
List<Object> get props => [message];
@override
String toString() => 'LoginFailure { error: $message }';
}
Loading