This repository was archived by the owner on Feb 4, 2021. It is now read-only.
File tree 6 files changed +605
-1269
lines changed
6 files changed +605
-1269
lines changed Original file line number Diff line number Diff line change 1
1
language : go
2
2
3
3
go :
4
- - " 1.12"
4
+ - " 1.12.4 "
5
5
6
6
services :
7
7
- docker
8
8
9
+ env :
10
+ - GO111MODULE=on
11
+
9
12
install :
10
13
- sudo apt-get remove postgresql-* -y
11
14
- sudo -E apt-get -yq --no-install-suggests --no-install-recommends $(travis_apt_get_options) install postgresql-client-11
@@ -18,8 +21,6 @@ before_script:
18
21
- sleep 10
19
22
- scripts/setup-db -y
20
23
- scripts/setup-test-db -y
21
- - go get -v -u github.com/golang/dep/cmd/dep
22
- - dep ensure -v -vendor-only
23
24
24
25
script :
25
26
- go test -v -race ./...
Original file line number Diff line number Diff line change 1
- FROM golang:1.12-stretch as builder
1
+ FROM golang:1.12.4 -stretch as builder
2
2
3
+ ENV GO111MODULE on
3
4
WORKDIR /go/src/github.com/ProgrammingLab/prolab-accounts
4
5
5
- RUN curl -Lo grapi https://github.com/izumin5210/grapi/releases/download/v0.3.2 /grapi_linux_amd64
6
+ RUN curl -Lo grapi https://github.com/izumin5210/grapi/releases/download/v0.4.0 /grapi_linux_amd64
6
7
RUN chmod +x grapi
7
- RUN go get -v -u github.com/golang/dep/cmd/dep
8
8
9
9
COPY . .
10
- RUN dep ensure -v -vendor-only
11
10
RUN ./grapi build
12
11
13
12
FROM gcr.io/distroless/base
You can’t perform that action at this time.
0 commit comments