mirror of
https://github.com/clearml/dropbear
synced 2025-04-29 18:21:24 +00:00
Use an explicit matrix instead, avoid bad clang combinations etc
This commit is contained in:
parent
df66daa26a
commit
ee812daf69
40
.travis.yml
40
.travis.yml
@ -1,26 +1,25 @@
|
|||||||
language: c
|
language: c
|
||||||
|
|
||||||
os:
|
git:
|
||||||
- linux
|
depth: 3
|
||||||
- osx
|
|
||||||
|
|
||||||
env:
|
|
||||||
matrix:
|
|
||||||
- BUNDLEDLIBTOM=--disable-bundled-libtom WEXTRAFLAGS=-Werror
|
|
||||||
- BUNDLEDLIBTOM=--enable-bundled-libtom
|
|
||||||
- MULTI=1
|
|
||||||
- NOWRITEV=1
|
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
exclude:
|
include:
|
||||||
# TODO: remove this when libtomcrypt has been updated by ubuntu/homebrew.
|
# subsequent matrix options use these first settings
|
||||||
# https://github.com/libtom/libtomcrypt/issues/82
|
- os: linux
|
||||||
- compiler: clang
|
compiler: gcc
|
||||||
env: BUNDLEDLIBTOM=--disable-bundled-libtom WEXTRAFLAGS=-Werror
|
env: WEXTRAFLAGS=-Werror
|
||||||
|
- env: MULTI=1 WEXTRAFLAGS=-Werror
|
||||||
compiler:
|
# libtom has some warnings, so no WEXTRAFLAGS
|
||||||
- gcc
|
- env: BUNDLEDLIBTOM=--enable-bundled-libtom WEXTRAFLAGS=""
|
||||||
- clang
|
- env: NOWRITEV=1 WEXTRAFLAGS=-Werror
|
||||||
|
# libtomcrypt 1.18.1 fixes clang problems, distro doesn't have that yet
|
||||||
|
- os: linux
|
||||||
|
compiler: clang
|
||||||
|
env: BUNDLEDLIBTOM=--enable-bundled-libtom WEXTRAFLAGS=""
|
||||||
|
- os: osx
|
||||||
|
compiler: clang
|
||||||
|
env: WEXTRAFLAGS=""
|
||||||
|
|
||||||
# container-based builds
|
# container-based builds
|
||||||
sudo: false
|
sudo: false
|
||||||
@ -36,9 +35,6 @@ addons:
|
|||||||
before_install:
|
before_install:
|
||||||
- if [ "$CC" = "clang" ]; then WEXTRAFLAGS="$WEXTRAFLAGS -Wno-error=incompatible-library-redeclaration" ; fi # workaround
|
- if [ "$CC" = "clang" ]; then WEXTRAFLAGS="$WEXTRAFLAGS -Wno-error=incompatible-library-redeclaration" ; fi # workaround
|
||||||
|
|
||||||
install:
|
|
||||||
- if [ "$TRAVIS_OS_NAME" = "osx" -a "$BUNDLEDLIBTOM" = "--disable-bundled-libtom" ]; then brew update > /dev/null && brew install libtomcrypt libtommath ; fi
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- autoconf && autoheader && ./configure "$BUNDLEDLIBTOM" CFLAGS="-O2 -Wall -Wno-pointer-sign $WEXTRAFLAGS" --prefix="$HOME/inst"
|
- autoconf && autoheader && ./configure "$BUNDLEDLIBTOM" CFLAGS="-O2 -Wall -Wno-pointer-sign $WEXTRAFLAGS" --prefix="$HOME/inst"
|
||||||
- if [ "$NOWRITEV" = "1" ]; then sed -i -e s/HAVE_WRITEV/DONT_HAVE_WRITEV/ config.h ; fi
|
- if [ "$NOWRITEV" = "1" ]; then sed -i -e s/HAVE_WRITEV/DONT_HAVE_WRITEV/ config.h ; fi
|
||||||
|
Loading…
Reference in New Issue
Block a user