Skip to content

Commit 9ff1743

Browse files
authored
Update Travis to latest LTS, ensure ipv6 works for fetch test (EFForg#17160)
1 parent 8a24e6e commit 9ff1743

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ os: linux
33
dist: trusty
44
language: python
55
python: 3.6
6-
group: deprecated-2017Q4
6+
group: bionic
77
services:
88
- docker
99
matrix:

test/run_travis.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ elif [ "$TEST" == "validations" ] || [ "$TEST" == "fetch" ] || [ "$TEST" == "pre
8080
if [ "$TEST" == "fetch" ]; then
8181
echo >&2 "Testing test URLs in all changed rulesets."
8282
# --privileged is required here for miredo to create a network tunnel
83-
docker run --rm -ti -v $(pwd):/opt -e RULESETS_CHANGED="$RULESETS_CHANGED" --privileged httpse bash -c "service miredo start && service tor start && test/fetch.sh"
83+
docker run --rm -ti -v $(pwd):/opt -e RULESETS_CHANGED="$RULESETS_CHANGED" --privileged httpse bash -c "echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6 && service miredo start && service tor start && test/fetch.sh"
8484
fi
8585

8686
if [ "$TEST" == "preloaded" ]; then

0 commit comments

Comments
 (0)