Skip to content

Commit

Permalink
Add coverage checks via coveralls.io
Browse files Browse the repository at this point in the history
  • Loading branch information
robshakir committed Sep 20, 2017
1 parent a9b3d21 commit dbda5bc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
@@ -1 +1,3 @@
language: go
after_success:
- ./scripts/coverage.sh
8 changes: 8 additions & 0 deletions scripts/coverage.sh
@@ -0,0 +1,8 @@
#!/bin/bash

go get github.com/go-playground/overalls && go get github.com/mattn/goveralls

overalls -project=github.com/openconfig/ygot -covermode=count -debug
goveralls -coverprofile=overalls.coverprofile -service travis-ci


0 comments on commit dbda5bc

Please sign in to comment.