Drone Update
This commit is contained in:
parent
dacb67a563
commit
392d709020
22
.drone.yml
22
.drone.yml
|
@ -5,7 +5,7 @@ name: linux-test
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: fetch
|
- name: fetch
|
||||||
image: golang:1.19.1
|
image: golang:1.21.5
|
||||||
volumes:
|
volumes:
|
||||||
- name: deps
|
- name: deps
|
||||||
path: /go
|
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/tor
|
||||||
- wget https://git.openprivacy.ca/openprivacy/buildfiles/raw/master/tor/torrc
|
- wget https://git.openprivacy.ca/openprivacy/buildfiles/raw/master/tor/torrc
|
||||||
- chmod a+x tor
|
- chmod a+x tor
|
||||||
- go get -u golang.org/x/lint/golint
|
|
||||||
- export GO111MODULE=on
|
- export GO111MODULE=on
|
||||||
- go mod vendor
|
|
||||||
- name: quality
|
- name: quality
|
||||||
image: golang:1.19.1
|
image: golang:1.21.5
|
||||||
volumes:
|
volumes:
|
||||||
- name: deps
|
- name: deps
|
||||||
path: /go
|
path: /go
|
||||||
commands:
|
commands:
|
||||||
- staticcheck ./...
|
- staticcheck ./...
|
||||||
- name: units-tests
|
- name: units-tests
|
||||||
image: golang:1.19.1
|
image: golang:1.21.5
|
||||||
volumes:
|
volumes:
|
||||||
- name: deps
|
- name: deps
|
||||||
path: /go
|
path: /go
|
||||||
commands:
|
commands:
|
||||||
- export PATH=`pwd`:$PATH
|
- export PATH=$PWD:$PATH
|
||||||
- sh testing/tests.sh
|
- sh testing/tests.sh
|
||||||
- name: integ-test
|
- name: integ-test
|
||||||
image: golang:1.19.1
|
image: golang:1.21.5
|
||||||
volumes:
|
volumes:
|
||||||
- name: deps
|
- name: deps
|
||||||
path: /go
|
path: /go
|
||||||
commands:
|
commands:
|
||||||
- export PATH=`pwd`:$PATH
|
- export PATH=$PWD:$PATH
|
||||||
- go test -timeout=30m -race -v cwtch.im/cwtch/testing/
|
- go test -timeout=30m -race -v cwtch.im/cwtch/testing/
|
||||||
- name: filesharing-integ-test
|
- name: filesharing-integ-test
|
||||||
image: golang:1.19.1
|
image: golang:1.21.5
|
||||||
volumes:
|
volumes:
|
||||||
- name: deps
|
- name: deps
|
||||||
path: /go
|
path: /go
|
||||||
commands:
|
commands:
|
||||||
- export PATH=`pwd`:$PATH
|
- export PATH=$PWD:$PATH
|
||||||
- go test -timeout=20m -race -v cwtch.im/cwtch/testing/filesharing
|
- go test -timeout=20m -race -v cwtch.im/cwtch/testing/filesharing
|
||||||
- name: filesharing-autodownload-integ-test
|
- name: filesharing-autodownload-integ-test
|
||||||
image: golang:1.19.1
|
image: golang:1.21.5
|
||||||
volumes:
|
volumes:
|
||||||
- name: deps
|
- name: deps
|
||||||
path: /go
|
path: /go
|
||||||
commands:
|
commands:
|
||||||
- export PATH=`pwd`:$PATH
|
- export PATH=$PWD:$PATH
|
||||||
- go test -timeout=20m -race -v cwtch.im/cwtch/testing/autodownload
|
- go test -timeout=20m -race -v cwtch.im/cwtch/testing/autodownload
|
||||||
- name: notify-gogs
|
- name: notify-gogs
|
||||||
image: openpriv/drone-gogs
|
image: openpriv/drone-gogs
|
||||||
|
|
Loading…
Reference in New Issue