File tree 3 files changed +17
-3
lines changed
3 files changed +17
-3
lines changed Original file line number Diff line number Diff line change
1
+ language : go
2
+
3
+ go :
4
+ - 1.8.x
5
+
6
+ install : make get-deps
7
+ script : go test ./...
8
+ services :
9
+ - mysql
10
+
11
+ env :
12
+ - TEST_MYSQL_CONNECTION="root:@(127.0.0.1:3306)/%dbname%?tx_isolation=SERIALIZABLE&parseTime=true"
Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ COPY ./ ${GOPATH}/src/jsonwire-grid
5
5
WORKDIR ${GOPATH}/src/jsonwire-grid
6
6
ENV CONFIG_PATH ./config.json
7
7
8
- RUN go get -u github.com/jteeuwen/go-bindata/...
9
8
RUN make
10
9
11
10
CMD ["service-entrypoint" ]
Original file line number Diff line number Diff line change 1
1
export CONFIG_PATH =./config.json
2
- all : build
2
+ all : get-deps build
3
3
4
4
.PHONY : help build fmt clean run test coverage check vet lint doc cfpush
5
5
19
19
gen :
20
20
go-bindata -pkg mysql -o storage/migrations/mysql/bindata.go storage/migrations/mysql
21
21
22
+ get-deps :
23
+ go get -u github.com/jteeuwen/go-bindata/...
24
+
22
25
prepare : fmt gen
23
26
24
27
run : build
25
- ${GOPATH} /bin/service-entrypoint
28
+ ${GOPATH} /bin/service-entrypoint
You can’t perform that action at this time.
0 commit comments