workspace: base: /go path: src/git.openprivacy.ca/openprivacy/libricochet-go 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 - chmod a+x tor - go get -u golang.org/x/lint/golint - go mod download 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 - go test -race -v git.openprivacy.ca/openprivacy/libricochet-go/testing notify-email: image: drillster/drone-email host: build.openprivacy.ca port: 25 skip_verify: true from: drone@openprivacy.ca when: status: [ failure ] notify-gogs: image: openpriv/drone-gogs when: event: pull_request status: [ success, changed, failure ] secrets: [gogs_account_token] gogs_url: https://git.openprivacy.ca