pgx/travis/script.bash
2017-11-12 15:47:26 +01:00

11 lines
176 B
Bash
Executable File

#!/usr/bin/env bash
set -eux
if [ "${PGVERSION-}" != "" ]
then
go test -v -race ./...
elif [ "${CRATEVERSION-}" != "" ]
then
go test -v -race -run 'TestCrateDBConnect'
fi