summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2020-05-03 11:09:36 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2020-05-03 11:09:36 +0100
commit955d9d22b95eab235b85b9c47e801e54d1cbcdaa (patch)
tree2169fe933a76aaf39420d545301d3fc582552c5b /.travis.yml
parentdaef6f6b679dfe2741fb2fe06ad161135fdc02db (diff)
Add static build.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml27
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