From 0b2078c6c594e0dd54eb48f6e8b960d3a1218f4e Mon Sep 17 00:00:00 2001 From: Ian Fijolek Date: Fri, 8 Jan 2021 18:09:27 -0500 Subject: [PATCH] uncomment test stuff --- .drone.yml | 28 ++++++++++------------------ 1 file changed, 10 insertions(+), 18 deletions(-) diff --git a/.drone.yml b/.drone.yml index 881e72f..458e89c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,21 +3,15 @@ kind: pipeline name: test steps: - - - name: skip - image: busybox + - name: test + image: golang:1.12 + environment: + VERSION: ${DRONE_TAG:-${DRONE_COMMIT}} commands: - - echo ok + - make test - # - name: test - # image: golang:1.12 - # environment: - # VERSION: ${DRONE_TAG:-${DRONE_COMMIT}} - # commands: - # - make test - # - # - name: check - # image: iamthefij/drone-pre-commit:personal + - name: check + image: iamthefij/drone-pre-commit:personal --- kind: pipeline @@ -31,9 +25,8 @@ trigger: - push - tag refs: - include: - - refs/heads/master - - refs/tags/v* + - refs/heads/master + - refs/tags/v* steps: - name: build all binaries @@ -41,8 +34,7 @@ steps: environment: VERSION: ${DRONE_TAG:-${DRONE_COMMIT}} commands: - # - make all - - make dist/minitor-linux-amd64 + - make all - name: compress binaries for release image: ubuntu