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

Commit

Permalink
Merge pull request #71 from ProgrammingLab/dependabot/dep/github.com/…
Browse files Browse the repository at this point in the history
…izumin5210/grapi-0.4.0

Bump github.com/izumin5210/grapi from 0.3.2 to 0.4.0
  • Loading branch information
gedorinku authored Apr 17, 2019
2 parents 9c3a584 + 899fd9b commit 04034b4
Show file tree
Hide file tree
Showing 6 changed files with 605 additions and 1,269 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
language: go

go:
- "1.12"
- "1.12.4"

services:
- docker

env:
- GO111MODULE=on

install:
- sudo apt-get remove postgresql-* -y
- sudo -E apt-get -yq --no-install-suggests --no-install-recommends $(travis_apt_get_options) install postgresql-client-11
Expand All @@ -18,8 +21,6 @@ before_script:
- sleep 10
- scripts/setup-db -y
- scripts/setup-test-db -y
- go get -v -u github.com/golang/dep/cmd/dep
- dep ensure -v -vendor-only

script:
- go test -v -race ./...
Expand Down
7 changes: 3 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
FROM golang:1.12-stretch as builder
FROM golang:1.12.4-stretch as builder

ENV GO111MODULE on
WORKDIR /go/src/github.com/ProgrammingLab/prolab-accounts

RUN curl -Lo grapi https://github.com/izumin5210/grapi/releases/download/v0.3.2/grapi_linux_amd64
RUN curl -Lo grapi https://github.com/izumin5210/grapi/releases/download/v0.4.0/grapi_linux_amd64
RUN chmod +x grapi
RUN go get -v -u github.com/golang/dep/cmd/dep

COPY . .
RUN dep ensure -v -vendor-only
RUN ./grapi build

FROM gcr.io/distroless/base
Expand Down
Loading

0 comments on commit 04034b4

Please sign in to comment.