Enable ipv6 for testing

This commit is contained in:
shortcutme 2019-01-20 03:08:34 +01:00
parent 79daa12b06
commit c0ba724578
No known key found for this signature in database
GPG Key ID: 5B63BAE6CB9613AE
1 changed files with 5 additions and 0 deletions

View File

@ -9,6 +9,11 @@ install:
- pip list
before_script:
- openssl version -a
# Add an IPv6 config - see the corresponding Travis issue
# https://github.com/travis-ci/travis-ci/issues/8361
- if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6';
fi
script:
- python -m pytest -x plugins/CryptMessage/Test
- python -m pytest -x plugins/Bigfile/Test