Skip to content

Commit

Permalink
Remove examples directory before running tests
Browse files Browse the repository at this point in the history
We don't write unit tests for examples, exclude them from coveralls

Resolves #147
  • Loading branch information
Sean-Der committed Sep 16, 2018
1 parent e25711c commit fd67100
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Expand Up @@ -17,9 +17,11 @@ before_script:
- go get github.com/mattn/goveralls

script:
- bash .github/build-examples.sh
- rm -rf examples
# Remove examples, no test coverage for them
- golangci-lint run
- goveralls -v -race -covermode=atomic -service=travis-ci -ignore .git,examples
- goveralls -v -race -covermode=atomic -service=travis-ci
- bash .github/assert-contributors.sh
- bash .github/lint-disallowed-functions-in-library.sh
- bash .github/build-examples.sh
- bash .github/lint-commit-message.sh

0 comments on commit fd67100

Please sign in to comment.