Skip to content

Commit

Permalink
CI: travis: get away with now-required dependency on "our" user/group
Browse files Browse the repository at this point in the history
  • Loading branch information
jnpkrn committed Apr 17, 2019
1 parent 3ad7b25 commit 24a3ec9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,14 @@ install:
make libxml2-utils xsltproc

before_script:
# Save and restore CC so that ./configure can pass
# Save and restore CC so that ./configure can pass;
# some tests (e.g. cts-exec-helper) require actual system-wide credentials
- test $MAINT_EXTRA -ne 0 || {
export CC_SAVED=$CC;
export CC=$(echo ${CC} | sed s/cov-build/gcc/);
sed -e 's|^\(CRM_DAEMON_USER=\).*$|\1nobody|'
-e 's|^\(CRM_DAEMON_GROUP=\).*$|\1nobody|'
-i -- configure.ac;
./autogen.sh;
./configure;
export CC=$CC_SAVED;
Expand Down

0 comments on commit 24a3ec9

Please sign in to comment.