summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.drone.yml4
-rw-r--r--Dockerfile1
2 files changed, 3 insertions, 2 deletions
diff --git a/.drone.yml b/.drone.yml
index 3076ae2..10064c3 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -7,7 +7,7 @@ steps:
- name: run tests
image: golang
commands:
- - go build
+ - go install -v
- go test -p 1 -v ./...
trigger:
@@ -23,7 +23,7 @@ steps:
- name: run tests
image: golang
commands:
- - go build
+ - go install -v
- go test -p 1 -v ./...
- name: docker
image: plugins/docker
diff --git a/Dockerfile b/Dockerfile
index 00ba728..8609a59 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -7,6 +7,7 @@ RUN go mod download
COPY . .
+RUN go install -v
RUN go build -o /app/hatecomputers
EXPOSE 8080