Skip to content
This repository was archived by the owner on Feb 4, 2021. It is now read-only.

Commit 04034b4

Browse files
authored
Merge pull request #71 from ProgrammingLab/dependabot/dep/github.com/izumin5210/grapi-0.4.0
Bump github.com/izumin5210/grapi from 0.3.2 to 0.4.0
2 parents 9c3a584 + 899fd9b commit 04034b4

File tree

6 files changed

+605
-1269
lines changed

6 files changed

+605
-1269
lines changed

.travis.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
language: go
22

33
go:
4-
- "1.12"
4+
- "1.12.4"
55

66
services:
77
- docker
88

9+
env:
10+
- GO111MODULE=on
11+
912
install:
1013
- sudo apt-get remove postgresql-* -y
1114
- 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:
1821
- sleep 10
1922
- scripts/setup-db -y
2023
- scripts/setup-test-db -y
21-
- go get -v -u github.com/golang/dep/cmd/dep
22-
- dep ensure -v -vendor-only
2324

2425
script:
2526
- go test -v -race ./...

Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1-
FROM golang:1.12-stretch as builder
1+
FROM golang:1.12.4-stretch as builder
22

3+
ENV GO111MODULE on
34
WORKDIR /go/src/github.com/ProgrammingLab/prolab-accounts
45

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
67
RUN chmod +x grapi
7-
RUN go get -v -u github.com/golang/dep/cmd/dep
88

99
COPY . .
10-
RUN dep ensure -v -vendor-only
1110
RUN ./grapi build
1211

1312
FROM gcr.io/distroless/base

0 commit comments

Comments
 (0)