Add Travis CI tests for Arch, Debian and OSX/macOS

+ Arch and Debian are run in Docker containers, as openSUSE Tumbleweed.

+ OSX/macOS doesn't use any containers.
   * Homebrew is used to fetch all the dependencies.
   * The dependencies are declared in the Brewfile.travis file.

+ The travis-build.sh script has been modified to check for the current
  OS and the different configure flags has been moved into an array
  that'll be looped through instead.
  The xscreensaver (for libXScrnSaver) flags has been removed for macOS
  as it only makes sense for systems running X11, which macOS doesn't
  (usually) do.

+ Some minor shellcheck fixes, too.

Fixes: #1100
This commit is contained in:
William Wennerström
2019-06-04 13:45:17 +02:00
parent 48013f8d43
commit 3700c80ad1
7 changed files with 244 additions and 140 deletions

View File

@@ -1,4 +1,4 @@
#!/bin/sh
mkdir -p m4
autoreconf -i $@
autoreconf -i "$@"