Skip to content

Commit 812fa38

Browse files
[travis] Don't log on expected installation failure
python3-requests-gssapi isn't packaged everywhere, and the Travis logic will fall back to pulling from PyPI. Remove the noise. Signed-off-by: Robbie Harwood <rharwood@redhat.com>
1 parent 4a22af7 commit 812fa38

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ if [ -f /etc/debian_version ]; then
1111
$PYTHON{,-dev,-requests} lib{socket,nss}-wrapper \
1212
flex bison krb5-{kdc,admin-server,pkinit}
1313

14-
apt-get -y install $PYTHON-requests-gssapi || true
14+
apt-get -y install $PYTHON-requests-gssapi 2>/dev/null || true
1515

1616
flake8
1717
elif [ -f /etc/redhat-release ]; then
@@ -28,7 +28,7 @@ elif [ -f /etc/redhat-release ]; then
2828
autoconf automake libtool which bison make $PYTHON \
2929
flex mod_session redhat-rpm-config /usr/bin/virtualenv
3030

31-
$DY -y install python-requests-gssapi || true
31+
$DY -y install python-requests-gssapi 2>/dev/null || true
3232
else
3333
echo "Distro not found!"
3434
false

0 commit comments

Comments
 (0)