Permalink
Browse files

Silence all deprecated declarations on Linux due to auto_ptr making t…

…he build log too long
  • Loading branch information...
peternewman committed Oct 26, 2018
1 parent 94fd823 commit 797460138456526388c3039511eb8f32784caa80
Showing with 6 additions and 1 deletion.
  1. +6 −1 .travis-ci.sh
@@ -246,7 +246,12 @@ elif [[ $TASK = 'flake8' ]]; then
flake8 --max-line-length 80 --exclude *_pb2.py,.git,__pycache --ignore E111,E114,E121,E127,E129 data/rdm include/ola python scripts tools/ola_mon tools/rdm
else
# Otherwise compile and check as normal
export DISTCHECK_CONFIGURE_FLAGS='--enable-rdm-tests --enable-ja-rule --enable-e133'
if [[ "$TRAVIS_OS_NAME" = "linux" ]]; then
# Silence all deprecated declarations on Linux due to auto_ptr making the build log too long
export DISTCHECK_CONFIGURE_FLAGS='--enable-rdm-tests --enable-ja-rule --enable-e133 CPPFLAGS=-Wno-deprecated-declarations'
else
export DISTCHECK_CONFIGURE_FLAGS='--enable-rdm-tests --enable-ja-rule --enable-e133'
fi
travis_fold start "autoreconf"
autoreconf -i;
travis_fold end "autoreconf"

0 comments on commit 7974601

Please sign in to comment.