Add safety check for local --remove-source-files.
[rsync.git] / .cirrus.yml
index fd7163f73da3d871cde89577cf20c3896c32e0d3..16489f8f39426d77ac8793d8264cff6b3b9c2665 100644 (file)
@@ -1,19 +1,23 @@
-task:
+freebsd_task:
   name: FreeBSD
   freebsd_instance:
-    image: freebsd-12-1-release-amd64
+    image_family: freebsd-13-0
+  env:
+    PATH: /usr/local/bin:$PATH
   prep_script:
-    - ln -s /usr/local/bin/bash /bin/bash
-    - pkg install -y autotools xxhash zstd liblz4 openssl
+    - dd if=/dev/zero of=/tmp/zpool bs=1M count=1024
+    - zpool create -m `pwd`/testtmp zpool /tmp/zpool
+    - pkg install -y bash autotools m4 xxhash zstd liblz4 wget
+    - wget -O git-version.h https://gist.githubusercontent.com/WayneD/c11243fa374fc64d4e42f2855c8e3827/raw/rsync-git-version.h
   configure_script:
     - CPPFLAGS=-I/usr/local/include/ LDFLAGS=-L/usr/local/lib/ ./configure --disable-md2man
-  build_script:
+  make_script:
     - make
   install_script:
     - make install
   info_script:
-    - /usr/local/bin/rsync --version
+    - rsync --version
   test_script:
-    - make check
-  ssl_script:
-    - /usr/local/bin/rsync-ssl --no-motd download.samba.org::rsyncftp/
+    - RSYNC_EXPECT_SKIPPED=acls-default,acls,crtimes,protected-regular make check
+  ssl_file_list_script:
+    - rsync-ssl --no-motd download.samba.org::rsyncftp/ || true