Skip to content

Commit

Permalink
Silence all deprecated declarations on Linux due to auto_ptr making t…
Browse files Browse the repository at this point in the history
…he build log too long
  • Loading branch information
peternewman committed Oct 26, 2018
1 parent 94fd823 commit 7974601
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .travis-ci.sh
Expand Up @@ -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"
Expand Down

0 comments on commit 7974601

Please sign in to comment.