Skip to content

Commit e002614

Browse files
committed
ci: Fix for post-build feature detection in wheels
1 parent 0328605 commit e002614

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

travis/build-manylinux1-wheels.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -252,9 +252,9 @@ for PY in $PYTHONS; do
252252
$PY_BIN -B -c '
253253
import pygit2
254254
print("libgit2 version: %s" % pygit2.LIBGIT2_VERSION)
255-
print("pygit2 supports threads: %s" % str(bool(pygit2.GIT_FEATURE_THREADS)))
256-
print("pygit2 supports HTTPS: %s" % str(bool(pygit2.GIT_FEATURE_THREADS)))
257-
print("pygit2 supports SSH: %s" % str(bool(pygit2.GIT_FEATURE_THREADS)))
255+
print("pygit2 supports threads: %s" % str(bool(pygit2.features & pygit2.GIT_FEATURE_THREADS)))
256+
print("pygit2 supports HTTPS: %s" % str(bool(pygit2.features & pygit2.GIT_FEATURE_HTTPS)))
257+
print("pygit2 supports SSH: %s" % str(bool(pygit2.features & pygit2.GIT_FEATURE_SSH)))
258258
print("")
259259
'
260260
done

0 commit comments

Comments
 (0)