aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2019-05-17 00:03:10 +0200
committerToni Uhlig <matzeton@googlemail.com>2019-05-17 00:03:10 +0200
commit89486f4f9a4f5e506e48a6c10ba0e9c7e5aa9ecd (patch)
treeccb997714a7914cf90a2c9d5e63dabd490fd1793
parent2024a8a1d3eeaec66e540ce298b1e93e81b1f351 (diff)
travis-ci: --enable-option-checking=fatal
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
-rw-r--r--.travis.yml10
1 files changed, 5 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index 20c9c90..3d19058 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -11,18 +11,18 @@ script:
- mkdir -p ./deploy
# default gcc build
- autoreconf -fi
-- ./configure --prefix=/
+- ./configure --enable-option-checking=fatal --prefix=/
- make install CFLAGS='-Werror' DESTDIR="$(realpath ./deploy)" V=s
- make clean
# debian build
- dpkg-buildpackage -b -us -uc
- make clean
# mingw-w64 build
-- CC=i686-w64-mingw32-gcc ./configure --prefix=/ --host=i686-w64-mingw32
+- CC=i686-w64-mingw32-gcc ./configure --enable-option-checking=fatal --prefix=/ --host=i686-w64-mingw32
- make install CFLAGS='-Werror' DESTDIR="$(realpath ./deploy)" V=s
- make clean
# clang build
-- CC=clang ./configure --prefix=/
+- CC=clang ./configure --enable-option-checking=fatal --prefix=/
- make install CFLAGS='-Werror -Wno-error=for-loop-analysis' DESTDIR="$(realpath ./deploy)" V=s
- make clean
# android build
@@ -30,7 +30,7 @@ script:
- test -r 'android-ndk-r19-linux-x86_64.zip' || wget --progress=dot:mega 'https://dl.google.com/android/repository/android-ndk-r19-linux-x86_64.zip'
- test -d 'android-ndk-r19' || unzip -q 'android-ndk-r19-linux-x86_64.zip'
- cd ..
-- CC=aarch64-linux-android28-clang PATH="${PATH}:$(realpath ./vendor/android-ndk-r19/toolchains/llvm/prebuilt/linux-x86_64/bin)" ./configure --host=aarch64-linux-android
+- CC=aarch64-linux-android28-clang PATH="${PATH}:$(realpath ./vendor/android-ndk-r19/toolchains/llvm/prebuilt/linux-x86_64/bin)" ./configure --enable-option-checking=fatal --host=aarch64-linux-android
- PATH="${PATH}:$(realpath ./vendor/android-ndk-r19/toolchains/llvm/prebuilt/linux-x86_64/bin)" make install CFLAGS='-Werror -Wno-error=for-loop-analysis' DESTDIR="$(realpath ./deploy)" V=s
# archlinux build
# see: https://wiki.archlinux.org/index.php/Install_from_existing_Linux#Method_A:_Using_the_bootstrap_image_(recommended)
@@ -58,6 +58,6 @@ addons:
project:
name: lnslbrty/ptunnel-ng
notification_email: matzeton@googlemail.com
- build_command_prepend: autoreconf -i && ./configure
+ build_command_prepend: autoreconf -i && ./configure --enable-option-checking=fatal
build_command: make
branch_pattern: coverity_scan