Start with Debian, FreeBSD, and macOS.
Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
--- /dev/null
+
+task:
+ name: debian
+ container:
+ image: debian:buster
+ cpu: 2
+ memory: 8
+ script: |
+ set -xe
+ dev/prep-for-debianish-build
+ adduser --disabled-password --gecos '' bup
+ chown -R bup:bup .
+ su -l bup -c "eatmydata make -j3 -C '$(pwd)' check"
+
+task:
+ name: freebsd
+ freebsd_instance:
+ image: freebsd-11-2-release-amd64
+ cpu: 2
+ memory: 8
+ script: |
+ set -xe
+ dev/prep-for-freebsd-build
+ gmake check
+ # It looks like su might not work here...
+ #pw useradd -n bup -s /bin/sh -m -w no
+ #chown -R bup .
+ #su -l bup -c "gmake -j3 -C '$PWD' check"
+
+task:
+ name: macos
+ osx_instance:
+ image: mojave-xcode-10.2
+ script: |
+ set -xe
+ dev/prep-for-macos-build
+ make -j2 check
- <a href="note/0.27.1-from-0.27.md">Changes in 0.27.1 as compared to 0.27</a>
+Test status: [![Debian test status](https://api.cirrus-ci.com/github/bup/bup.svg?branch=tmp/test-cirrus&task=debian)](https://cirrus-ci.com/github/bup/bup)
+[![FreeBSD test status](https://api.cirrus-ci.com/github/bup/bup.svg?branch=tmp/test-cirrus&task=freebsd)](https://cirrus-ci.com/github/bup/bup)
+[![macOS test status](https://api.cirrus-ci.com/github/bup/bup.svg?branch=tmp/test-cirrus&task=macos)](https://cirrus-ci.com/github/bup/bup)
+==============================================================
+
+
+
Getting started
===============
--- /dev/null
+#!/usr/bin/env bash
+
+set -exo pipefail
+
+export DEBIAN_FRONTEND=noninteractive
+apt-get update
+apt-get install -y \
+ gcc make linux-libc-dev git rsync eatmydata \
+ acl attr par2 \
+ python2.7-dev python-fuse \
+ python-pyxattr python-pylibacl python-tornado \
+ duplicity rdiff-backup rsnapshot
--- /dev/null
+#!/bin/sh
+
+set -ex
+
+# Install build deps
+export ASSUME_ALWAYS_YES=yes
+pkg update
+pkg install \
+ gmake git bash rsync curl par2cmdline \
+ python2 python py27-pylibacl py27-tornado \
+ duplicity rdiff-backup rsnapshot
--- /dev/null
+#!/bin/sh
+
+set -ex
+
+ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
+
+brew update
+brew install par2