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