Permalink
Browse files

travis-ci: do not set -Werror before configure

Some configure checks are sensitive to -Werror being set (e.g.
the pthread checks), so only set this in CFLAGS after configure
has been run.
  • Loading branch information...
grondo committed Sep 6, 2017
1 parent fb63249 commit 0148334fa56bb892e536003e3f5e2ba0e21e790b
Showing with 1 addition and 1 deletion.
  1. +1 −1 .travis.yml
View
@@ -38,9 +38,9 @@ script:
scripts/travis-ci-deps.sh;
eval $(scripts/travis-ci-deps.sh --printenv);
fi
- export CFLAGS="-Werror -Wno-error=deprecated-declarations"
- ./bootstrap
- ./configure --with-exec --with-ssh --with-mrsh --with-genders --with-dshgroups --with-netgroup --with-machines
- export CFLAGS="-Werror -Wno-error=deprecated-declarations"
- make -j 2 check
after_failure:

0 comments on commit 0148334

Please sign in to comment.