language: go
go_import_path: github.com/hibiken/asynq
git:
  depth: 1
go: [1.13.x, 1.14.x, 1.15.x]
script:
  - go test -race -v -coverprofile=coverage.txt -covermode=atomic ./...
  - go test -run=^$ -bench=. -loglevel=debug ./...
services:
  - redis-server
after_success:
  - travis_wait 60 bash ./.travis/benchstat.sh
  - bash <(curl -s https://codecov.io/bash)
