xref: /freebsd/contrib/atf/.cirrus.yml (revision 8ddb146abcdf061be9f2c0db7e391697dafad85c)
1env:
2  CIRRUS_CLONE_DEPTH: 1
3  ARCH: amd64
4
5task:
6  matrix:
7    - name: 13.0-CURRENT
8      freebsd_instance:
9        image_family: freebsd-13-0-snap
10    - name: 12.2-STABLE
11      freebsd_instance:
12        image_family: freebsd-12-2-snap
13    - name: 12.1-RELEASE
14      freebsd_instance:
15        image_family: freebsd-12-1
16  install_script:
17    - sed -i.bak -e 's,pkg+http://pkg.FreeBSD.org/\${ABI}/quarterly,pkg+http://pkg.FreeBSD.org/\${ABI}/latest,' /etc/pkg/FreeBSD.conf
18    - ASSUME_ALWAYS_YES=yes pkg bootstrap -f
19    - pkg install -y autoconf automake libtool kyua
20  script:
21    - env JUNIT_OUTPUT=$(pwd)/test-results.xml ./admin/travis-build.sh
22  always:
23    junit_artifacts:
24      path: "test-results.xml"
25      type: text/xml
26      format: junit
27