From 409d52ed411cbc4f8e52ff3dfd02199c9f998a51 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Wed, 29 May 2019 14:19:26 +0100 Subject: [PATCH] Try OS X. --- .travis.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2188eec0..ab333aa4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,18 @@ +os: + - linux + - osx + language: c + matrix: include: - compiler: gcc - compiler: clang - env: CFLAGS="-g -O2" + before_install: - - sudo apt-get update -qq - - sudo apt-get -y install bison debhelper autotools-dev dh-autoreconf file libncurses5-dev libevent-dev pkg-config libutempter-dev build-essential -script: (CFLAGS= ./autogen.sh) && ./configure --enable-debug && make + - if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get update -qq; fi + - if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get -y install bison autotools-dev libncurses5-dev libevent-dev pkg-config libutempter-dev build-essential; fi + - if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update; fi + +script: + - ./autogen.sh && ./configure && make