Skip to content
This repository has been archived by the owner on Jul 14, 2022. It is now read-only.

Commit

Permalink
Merge pull request #54 from uc-cdis/feat/unit-test-run
Browse files Browse the repository at this point in the history
adding travis.yml
  • Loading branch information
UchicagoZchen138 committed Aug 26, 2021
2 parents 2100440 + a2ede9f commit c001f6b
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
language: go

go:
- "1.15"

# Restrict to cloning only 1 commit.
git:
depth: 1

sudo: false

install:
- go get
- go get golang.org/x/tools/cmd/cover
- go get github.com/mattn/goveralls

script:
- go test -v ./database/ ./wflib/ --covermode=count --coverprofile=coverage.out

after_script:
- goveralls --coverprofile=coverage.out --service=travis-ci --repotoken $COVERALLS_TOKEN

0 comments on commit c001f6b

Please sign in to comment.