Skip to content
This repository was archived by the owner on Nov 6, 2023. It is now read-only.
Closed

blah #14386

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ sudo: required
os: linux
dist: trusty
language: python
group: deprecated-2017Q4
python: 2.7
services:
- docker
Expand Down
18 changes: 18 additions & 0 deletions src/chrome/content/rules/Haproxy.org.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!--
No working url known:
- stats.haproxy.org
- master.haproxy.org
- ipv4.haproxy.org
-->
<ruleset name="Haproxy.org">
<target host="haproxy.org" />
<target host="www.haproxy.org" />
<target host="demo.haproxy.org" />
<target host="dev.haproxy.org" />
<target host="discourse.haproxy.org" />
<target host="git.haproxy.org" />
<target host="ipv6.haproxy.org" />
<target host="slack.haproxy.org" />

<rule from="^http:" to="https:" />
</ruleset>
2 changes: 2 additions & 0 deletions test/travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ fi
if [ "$TEST" == "fetch" ]; then
echo >&2 "Testing test URLs in all changed rulesets."
# --privileged is required here for miredo to create a network tunnel
sudo echo '{"ipv6":true,"fixed-cidr-v6":"2001:db8:1::/64"}' | sudo tee /etc/docker/daemon.json
sudo service docker restart
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"
fi

Expand Down