go-mail/.cirrus.yml
Winni Neessen d781217f07
#98 Set up FreeBSD tests via CirrusCI
Cirrus does not understand the double {{}}
2023-01-12 01:05:10 +01:00

32 lines
No EOL
748 B
YAML

# SPDX-FileCopyrightText: 2022 Winni Neessen <winni@neessen.dev>
#
# SPDX-License-Identifier: MIT
freebsd_task:
name: FreeBSD
matrix:
- name: FreeBSD 13.1
freebsd_instance:
image_family: freebsd-13-1
- name: FreeBSD 12.4
freebsd_instance:
image_family: freebsd-12-4
- name: FreeBSD 12.3
freebsd_instance:
image_family: freebsd-12-3
env:
TEST_HOST: ${secrets.TEST_HOST}
TEST_FROM: ${secrets.TEST_USER}
TEST_ALLOW_SEND: "1"
TEST_SMTPAUTH_USER: ${secrets.TEST_USER}
TEST_SMTPAUTH_PASS: ${secrets.TEST_PASS}
TEST_SMTPAUTH_TYPE: "LOGIN"
pkginstall_script:
- pkg update -f
- pkg install -y go
test_script:
- go test -v -race -cover -shuffle=on ./...