diff --git a/.drone.yml b/.drone.yml index 75f1322..2cbf468 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,7 +5,7 @@ name: linux-test steps: - name: fetch - image: golang:1.19.1 + image: golang:1.21.5 volumes: - name: deps path: /go @@ -14,47 +14,45 @@ steps: - 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 - export GO111MODULE=on - - go mod vendor - name: quality - image: golang:1.19.1 + image: golang:1.21.5 volumes: - name: deps path: /go commands: - staticcheck ./... - name: units-tests - image: golang:1.19.1 + image: golang:1.21.5 volumes: - name: deps path: /go commands: - - export PATH=`pwd`:$PATH + - export PATH=$PWD:$PATH - sh testing/tests.sh - name: integ-test - image: golang:1.19.1 + image: golang:1.21.5 volumes: - name: deps path: /go commands: - - export PATH=`pwd`:$PATH + - export PATH=$PWD:$PATH - go test -timeout=30m -race -v cwtch.im/cwtch/testing/ - name: filesharing-integ-test - image: golang:1.19.1 + image: golang:1.21.5 volumes: - name: deps path: /go commands: - - export PATH=`pwd`:$PATH + - export PATH=$PWD:$PATH - go test -timeout=20m -race -v cwtch.im/cwtch/testing/filesharing - name: filesharing-autodownload-integ-test - image: golang:1.19.1 + image: golang:1.21.5 volumes: - name: deps path: /go commands: - - export PATH=`pwd`:$PATH + - export PATH=$PWD:$PATH - go test -timeout=20m -race -v cwtch.im/cwtch/testing/autodownload - name: notify-gogs image: openpriv/drone-gogs