Skip to content

Commit

Permalink
Merge pull request allinurl#977 from szepeviktor/patch-5
Browse files Browse the repository at this point in the history
Proper Travis usage
  • Loading branch information
allinurl authored Jan 8, 2018
2 parents 197f471 + bb9b2e1 commit cf517d5
Showing 1 changed file with 26 additions and 31 deletions.
57 changes: 26 additions & 31 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,30 @@
language: c

branches:
only:
- master

compiler:
- clang
- gcc
- clang
- gcc

env:
- CONFIGURE_OPTIONS=""
- CONFIGURE_OPTIONS="--enable-geoip=legacy --enable-utf8"
- CONFIGURE_OPTIONS="--enable-geoip=legacy --enable-utf8 --enable-tcb=btree --disable-bzip --disable-zlib"
- CONFIGURE_OPTIONS="--enable-geoip=legacy --enable-utf8 --enable-tcb=memhash --disable-bzip --disable-zlib"
- CONFIGURE_OPTIONS="--enable-tcb=memhash --disable-bzip --disable-zlib"
- CONFIGURE_OPTIONS="--enable-tcb=btree --disable-bzip --disable-zlib"

before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq libglib2.0-dev libncurses5-dev libgeoip-dev autoconf autotools-dev libtokyocabinet-dev gettext autopoint
- sudo apt-get update -qq
- sudo apt-get install -qq libglib2.0-dev libncurses5-dev libgeoip-dev autoconf autotools-dev libtokyocabinet-dev gettext autopoint

install:
- autoreconf -fiv
- ./configure
- make
- make distclean
- autoreconf -fiv
- ./configure --enable-geoip=legacy --enable-utf8
- make
- make distclean
- autoreconf -fiv
- ./configure --enable-geoip=legacy --enable-utf8 --enable-tcb=btree --disable-bzip --disable-zlib
- make
- make distclean
- autoreconf -fiv
- ./configure --enable-geoip=legacy --enable-utf8 --enable-tcb=memhash --disable-bzip --disable-zlib
- make
- make distclean
- autoreconf -fiv
- ./configure --enable-tcb=memhash --disable-bzip --disable-zlib
- make
- make distclean
- autoreconf -fiv
- ./configure --enable-tcb=btree --disable-bzip --disable-zlib
- make
branches:
only:
- master
script: "echo done"
- autoreconf -fiv
- ./configure $CONFIGURE_OPTIONS
- make
- sudo env "PATH=$PATH" make install

script:
- echo "Sorry, no tests."

0 comments on commit cf517d5

Please sign in to comment.