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

Commit

Permalink
adding travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
UchicagoZchen138 committed Aug 26, 2021
1 parent 2100440 commit 55d48d5
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
language: go

go:
- "1.12"

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

sudo: false

install:
- go get github.com/jmoiron/sqlx
- go get github.com/lib/pq
- go get github.com/sirupsen/logrus
- go get github.com/DATA-DOG/go-sqlmock
- go get github.com/stretchr/testify/assert
- go get gopkg.in/yaml.v2
- 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 55d48d5

Please sign in to comment.