Try OS X.

This commit is contained in:
Nicholas Marriott 2019-05-29 14:19:26 +01:00
parent e90b5dcea3
commit 409d52ed41

View File

@ -1,10 +1,18 @@
os:
- linux
- osx
language: c language: c
matrix: matrix:
include: include:
- compiler: gcc - compiler: gcc
- compiler: clang - compiler: clang
env: CFLAGS="-g -O2"
before_install: before_install:
- sudo apt-get update -qq - if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get update -qq; fi
- sudo apt-get -y install bison debhelper autotools-dev dh-autoreconf file libncurses5-dev libevent-dev pkg-config libutempter-dev build-essential - 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
script: (CFLAGS= ./autogen.sh) && ./configure --enable-debug && make - if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update; fi
script:
- ./autogen.sh && ./configure && make