pull/508/head
hunterlong 2020-04-16 11:33:31 -07:00
parent 38601e7652
commit d160bc602f
2 changed files with 3 additions and 2 deletions

View File

@ -43,7 +43,7 @@ notifications:
os:
- linux
script:
- "make clean newman"
- "make clean postman"
- "if [[ \"$TRAVIS_BRANCH\" == \"dev\" && \"$TRAVIS_PULL_REQUEST\" = \"false\" ]]; then make dockerhub-dev; fi"
- "travis_retry make clean test-ci"
- "if [[ \"$TRAVIS_BRANCH\" == \"master\" && \"$TRAVIS_PULL_REQUEST\" = \"false\" ]]; then make coverage; fi"

View File

@ -39,7 +39,8 @@ release: test-deps
make build-all
test-ci: clean compile test-deps
SASS=`which sass` go test -v -covermode=count -coverprofile=coverage.out -p=1 ./...
DB_CONN=sqlite SASS=`which sass` \
go test -v -covermode=count -coverprofile=coverage.out -p=1 ./...
goveralls -coverprofile=coverage.out -service=travis-ci -repotoken ${COVERALLS}
cypress: clean