From 61f89d7b2c4e332f53d7b6fe9039b2f9c071bf24 Mon Sep 17 00:00:00 2001 From: Dan Ballard Date: Wed, 6 Nov 2019 11:40:58 -0800 Subject: [PATCH] drone force modules --- .drone.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.drone.yml b/.drone.yml index 244b439..881fac5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,6 +5,8 @@ workspace: pipeline: fetch: image: golang + environment: + - GO111MODULE=on commands: - wget https://git.openprivacy.ca/openprivacy/buildfiles/raw/master/tor/tor - wget https://git.openprivacy.ca/openprivacy/buildfiles/raw/master/tor/torrc @@ -13,15 +15,21 @@ pipeline: - go get -u github.com/golang/lint/golint quality: image: golang + environment: + - GO111MODULE=on commands: - go list ./... | xargs go vet - go list ./... | grep -v "/wire/" | xargs golint -set_exit_status units-tests: image: golang + environment: + - GO111MODULE=on commands: - sh testing/tests.sh integ-test: image: golang + environment: + - GO111MODULE=on commands: - ./tor -f ./torrc - sleep 15