2
0

copy travis configs over from pgx

This commit is contained in:
Jacob Powers
2020-06-09 18:16:23 -07:00
parent 3e586004db
commit 96f49eb89b
3 changed files with 62 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/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