Skip to content

Commit

Permalink
added settings for coveralls.io in .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-alrux committed Feb 17, 2017
1 parent d78ca17 commit 875b262
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
language: go

sudo: false
go:
- 1.8
- 1.7.5
Expand Down Expand Up @@ -33,7 +33,10 @@ go:
- 1.1.2
- 1.1.1
- 1.1

before_install:
- go get github.com/mattn/goveralls
script:
- $HOME/gopath/bin/goveralls -service=travis-ci
matrix:
fast_finish: true
allow_failures:
Expand Down
3 changes: 2 additions & 1 deletion calmly_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ func TestStack(t *testing.T) {
}
divByZero := func() {
a, b := 1, 0
_ = a / b
a = a / b
_ = a
}

out := Try(divByZero)
Expand Down

0 comments on commit 875b262

Please sign in to comment.