diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2019-05-29 14:40:41 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2019-05-29 14:40:41 +0100 |
commit | 47795d16952b866841b1c4cfb963e761cc438f96 (patch) | |
tree | de00242b156c991233e5575038c07ed1f416db1a | |
parent | 7cdb1cfc8dc6d3a30e9998106308aef35d66bbb5 (diff) |
Update .travis.yml from master.
-rw-r--r-- | .travis.yml | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/.travis.yml b/.travis.yml index 2188eec0..fd85bf61 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,16 @@ language: c -matrix: - include: - - compiler: gcc - - compiler: clang - env: CFLAGS="-g -O2" + +os: + - linux + - osx + +compiler: + - gcc + - clang + 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 + +script: + - ./autogen.sh && ./configure && make |