diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2020-05-03 11:09:36 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2020-05-03 11:09:36 +0100 |
commit | 955d9d22b95eab235b85b9c47e801e54d1cbcdaa (patch) | |
tree | 2169fe933a76aaf39420d545301d3fc582552c5b /.travis.yml | |
parent | daef6f6b679dfe2741fb2fe06ad161135fdc02db (diff) |
Add static build.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 27 |
1 files changed, 20 insertions, 7 deletions
diff --git a/.travis.yml b/.travis.yml index fd85bf61..6beb5799 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,16 +1,29 @@ language: c os: - - linux - - osx + - linux + - osx compiler: - - gcc - - clang + - gcc + - clang + +env: + - BUILD= + - BUILD=static + +jobs: + exclude: + - os: osx + - compiler: gcc + - env: BUILD=static + exclude: + - os: osx + - compiler: clang + - env: BUILD=static before_install: - - 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 + - sh .github/travis/before-install.sh script: - - ./autogen.sh && ./configure && make + - sh .github/travis/build.sh |