Skip to content
Snippets Groups Projects
Commit 9197afca authored by Kevin Lyda's avatar Kevin Lyda :speech_balloon:
Browse files

Sigh. DB not playing nice now.

parent 25037e0d
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -5,7 +5,8 @@ variables:
MYSQL_TEST: "true"
before_script:
- mysql -uroot -p$MYSQL_ROOT_PASSWORD -hmysql < db/seed.sql
- cat /etc/hosts
- for i in 1 2 3; do mysql -uroot -p$MYSQL_ROOT_PASSWORD -hmysql < db/seed.sql && break || true; sleep 3; done
services:
- mysql
......@@ -15,6 +16,8 @@ test:
script:
- pwd
- ls
- mkdir -p /go/src/github.com/nsheridan
- ln
- go install -v ./cmd/cashier ./cmd/cashierd
- go list ./... |grep -v vendor/ |xargs go test
- gofmt -d $(find -type f -name '*.go' -not -path './vendor/*')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment