aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2019-10-08 11:14:38 +0200
committerDan Fandrich <dan@coneharvesters.com>2019-10-09 09:53:18 +0200
commite5594e09f6ae3de9222f83ed39e5304e012285eb (patch)
treec4fb995f8375d5aee143de616176f64b12d760dc
parent93373a960c3bb45def7640bc775743dd8bec71c7 (diff)
cirrus: Switch the FreeBSD 11.x build to 11.3 and add a 13.0 build.
Also, select the images using image_family to get the latest snapshots automatically. [skip ci]
-rw-r--r--.cirrus.yml19
1 files changed, 13 insertions, 6 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index 21d7b62ab..3fea4ec3e 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -5,9 +5,12 @@ task:
name: FreeBSD
freebsd_instance:
matrix:
- image: freebsd-12-0-release-amd64
- image: freebsd-11-2-release-amd64
- image: freebsd-10-4-release-amd64
+ # There isn't a stable 13.0 image yet (2019-10)
+ image_family: freebsd-13-0-snap
+ image_family: freebsd-12-0
+ # The stable 11.3 image causes "Agent is not responding" so use a snapshot
+ image_family: freebsd-11-3-snap
+ image_family: freebsd-10-4
env:
CIRRUS_CLONE_DEPTH: 1
@@ -28,9 +31,13 @@ task:
# TODO: A number of tests are failing on different FreeBSD versions and so
# are disabled. This should be investigated.
- SKIP_TESTS=''
- - if [ `uname -r` = "12.0-RELEASE" ] ; then SKIP_TESTS='!303 !304 !323 !504 !1242 !1243 !2002 !2003'; fi
- - if [ `uname -r` = "11.2-RELEASE" ] ; then SKIP_TESTS='!303 !304 !310 !311 !312 !313 !504 !1082 !1242 !1243 !2002 !2003 !2034 !2035 !2037 !2038 !2041 !2042 !2048 !3000 !3001'; fi
- - if [ `uname -r` = "10.4-RELEASE" ] ; then SKIP_TESTS='!303 !304 !310 !311 !312 !313 !504 !1082 !1242 !1243 !2002 !2003 !2034 !2035 !2037 !2038 !2041 !2042 !2048 !3000 !3001'; fi
+ - uname -r
+ - case `uname -r` in
+ 13.0*) SKIP_TESTS='!303 !304 !323 !504 !1242 !1243 !2002 !2003';;
+ 12.0*) SKIP_TESTS='!303 !304 !323 !504 !1242 !1243 !2002 !2003';;
+ 11.3*) SKIP_TESTS='!303 !304 !504 !1242 !1243 !2002 !2003';;
+ 10.4*) SKIP_TESTS='!303 !304 !310 !311 !312 !313 !504 !1082 !1242 !1243 !2002 !2003 !2034 !2035 !2037 !2038 !2041 !2042 !2048 !3000 !3001';;
+ esac
- sudo -u nobody make V=1 TFLAGS="-n -a -p !flaky ${SKIP_TESTS}" test-nonflaky
install_script:
- make V=1 install