pgx/travis/script.bash
2020-06-09 18:16:23 -07:00

12 lines
246 B
Bash
Executable File

#!/usr/bin/env bash
# source: https://github.com/jackc/pgx/blob/master/travis/script.bash
set -eux
if [ "${PGVERSION-}" != "" ]
then
go test -v -race ./...
elif [ "${CRATEVERSION-}" != "" ]
then
go test -v -race -run 'TestCrateDBConnect'
fi