diff options
-rw-r--r-- | .travis.yml | 1 | ||||
-rw-r--r-- | .travis/osx/after_failure.sh | 3 | ||||
-rw-r--r-- | .travis/osx/before_install.sh | 5 | ||||
-rw-r--r-- | .travis/osx/script.sh | 6 |
4 files changed, 15 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 4d835d3..9dba697 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,6 +24,7 @@ matrix: sudo: required services: docker env: BUILD_OPTS="--host=x86_64-w64-mingw32 --without-libffi" CHECK_OPTS="LOG_COMPILER=/srcdir/build/wine-wrapper.sh" SRCDIR=/srcdir BUILDDIR=/builddir EXTRA_PKGS="mingw64-gcc mingw64-libffi mingw64-libtasn1 wine" + - os: osx language: c diff --git a/.travis/osx/after_failure.sh b/.travis/osx/after_failure.sh new file mode 100644 index 0000000..95ed921 --- /dev/null +++ b/.travis/osx/after_failure.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +cat test-suite.log diff --git a/.travis/osx/before_install.sh b/.travis/osx/before_install.sh new file mode 100644 index 0000000..a0cbd49 --- /dev/null +++ b/.travis/osx/before_install.sh @@ -0,0 +1,5 @@ +brew update +brew install libffi + +export PATH=${PATH}:/usr/local/opt/gettext/bin +export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:/usr/local/opt/libffi/lib/pkgconfig diff --git a/.travis/osx/script.sh b/.travis/osx/script.sh new file mode 100644 index 0000000..83b10c5 --- /dev/null +++ b/.travis/osx/script.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +NOCONFIGURE=1 ./autogen.sh +./configure --prefix=/installdir --libdir=/installdir/lib --sysconfdir=/installdir/etc --with-trust-paths=/installdir/etc/pki/ca-trust-source:/installdir/share/pki/ca-trust-source +make V=1 +make check V=1 |