Skip to content

Commit 04e1fef

Browse files
author
Yao Adzaku
committed
cleanup
1 parent ee5435a commit 04e1fef

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

.travis.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@
1919
- test -z "$(golint ./... | grep -v vendor | tee /dev/stderr)"
2020
- test -z "$(gofmt -s -l . | grep -v vendor | tee /dev/stderr)"
2121
- go test $(go list ./... | grep -v vendor)
22-
- mysql -u root < test-fixtures/shop.sql &&
23-
mysql -u root < test-fixtures/blog.sql &&
24-
./dba test-fixtures/sample.conf.hcl
22+
- ./run-tests.sh
2523

2624
services:
2725
- mysql

main_test.go

-1
This file was deleted.

run-tests.sh

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
3+
set -ev
4+
5+
mysql -u root < test-fixtures/shop.sql
6+
7+
mysql -u root < test-fixtures/blog.sql
8+
9+
./dba test-fixtures/sample.conf.hcl

0 commit comments

Comments
 (0)