elvish/.cirrus.yml

27 lines
706 B
YAML
Raw Normal View History

test_task:
env:
ELVISH_TEST_TIME_SCALE: 20
go_modules_cache:
fingerprint_script: cat go.sum
folder: $GOPATH/pkg/mod
matrix:
- name: Test on gccgo
2020-07-11 00:29:48 +08:00
container:
image: debian:unstable-slim
setup_script:
- apt-get -y update
- apt-get -y install ca-certificates gccgo-11
- ln -sf /usr/bin/go-11 /usr/local/bin/go
2020-07-11 00:29:48 +08:00
env:
# gccgo doesn't support race test
2020-07-11 00:29:48 +08:00
TEST_FLAG: ""
- name: Test on FreeBSD
freebsd_instance:
image_family: freebsd-12-1
setup_script: pkg install -y go
env:
GOPATH: $HOME/go
TEST_FLAG: -race
go_version_script: go version
2020-07-11 00:29:48 +08:00
test_script: go test $TEST_FLAG ./...