Skip to content

Commit 0afdfdb

Browse files
committed
Fix tests by ensuring travis fails if validation fails.
1 parent 00a1860 commit 0afdfdb

File tree

6 files changed

+8
-4
lines changed

6 files changed

+8
-4
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services:
55
before_install:
66
- docker build -t httpse .
77
script:
8-
- docker run --rm -ti -v $(pwd):/opt -e FIREFOX=/$FIREFOX/firefox/firefox httpse bash test.sh
8+
- docker run --rm -ti -v $(pwd):/opt -e FIREFOX=/$FIREFOX/firefox/firefox httpse bash -c "./test.sh"
99
- docker run --rm -ti -v $(pwd):/opt -e FIREFOX=/$FIREFOX/firefox/firefox --privileged httpse bash -c "service miredo start && test/travis-ruleset-fetch.sh"
1010
env:
1111
- FIREFOX=firefox-latest

src/chrome/content/rules/Debian.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@
8484
<target host="debian.org" />
8585
<target host="alioth.debian.org" />
8686
<target host="*.alioth.debian.org" />
87-
<test url="http://aptitude.alioth.debian.org" />
87+
<test url="http://aptitude.alioth.debian.org/" />
8888
<test url="http://pkg-haskell.alioth.debian.org/" />
89-
<test url="http://python-modules.alioth.debian.org" />
89+
<test url="http://python-modules.alioth.debian.org/" />
9090
<target host="anonscm.debian.org" />
9191
<target host="appstream.debian.org" />
9292
<target host="bits.debian.org" />

src/chrome/content/rules/Inspectlet.com.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
<!-- Mixed Content-->
1515
<target host="blog.inspectlet.com" />
1616
<exclusion pattern="^http://blog\.inspectlet\.com/(?!favicon\.ico|wp-content/|wp-includes/)" />
17+
<test url="http://blog.inspectlet.com/" />
1718
<test url="http://blog.inspectlet.com/favicon.ico" />
1819
<test url="http://blog.inspectlet.com/wp-content/themes/inspectlet/genericons/genericons/genericons.css" />
1920
<test url="http://blog.inspectlet.com/wp-includes/js/wp-embed.min.js?ver=4.4.2" />

src/chrome/content/rules/Smzdm.com.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
<target host="www.smzdm.com" />
2525

2626
<exclusion pattern="^http://(m|test|www)\.smzdm\.com/(?!resources/)" />
27+
<test url="http://m.smzdm.com/" />
2728
<test url="http://m.smzdm.com/resources/css/details.css?v=2016041901" />
2829
<test url="http://test.smzdm.com/resources/css/probation.css" />
2930
<test url="http://www.smzdm.com/resources/public/img/logo.png" />

src/chrome/content/rules/Threema.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
<test url="http://myid.threema.ch/revoke" />
1616
<test url="http://myid.threema.ch/unlink" />
1717
<test url="http://avatar.threema.ch/*THREEMA" />
18+
<test url="http://avatar.threema.ch/" />
1819

1920
<!-- The main page serves a 403 reply -->
2021
<exclusion pattern="http://avatar\.threema\.ch/?$" />

utils/ruleset-coverage-whitelist.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2689,6 +2689,7 @@ ab7ed2cbd706921bf4dd28c2829713525bf20eb0f353c4a3b670c8bee7fd83af GStreamer.xml
26892689
6637d47a74a578146d45ff4f7aa375670d1aea3d1e41ed9a5e90284da437812d GSU.edu-falsemixed.xml
26902690
b9f0211b9e4197c02fe47ee764b9b4974a5521bda177a11ad18e7735147d74eb GSU.edu.xml
26912691
f6e04e843d3a272b45e51df64e225efacc2ea25dcd2ae5006c5e4ad55e13cfe0 GTCs-Online.xml
2692+
f530778595d1968df7bef0b332f2c9de6dac71c678eb6b07400d0d3cb37c9cd6 Gtimg.cn.xml
26922693
40529df786129410215b79b65aa06ca2e9d73f511230e2061a9c62171b3cc828 GU.se.xml
26932694
2658ea2070b54f5a51b5fed1141337e3b434ac2f1565884145c41b83c8ac6d15 GUADEC.org.xml
26942695
6a3b251fdf1a2490d919bcf5f7cfca9f1e6209377d4b80a465ce522aaf3d4924 Guild-Wars-2.xml
@@ -3088,7 +3089,7 @@ a27196220fa231294e293f70eac60a6a4c0b59f3cd56bf6d2cf3016edac7d16d Inrialpes.fr.x
30883089
fa7a4ffe269aa8d8a95066b584142673ec0349f717987a2536581d224c543ff3 InsideHW.com.xml
30893090
dd25d66bdf7e8dcf77ea88cd3fdab7bf08496876b5b4c56c74819c5d0b114bfc Insight.xml
30903091
ca6bb71be5f90667fa9a700377a0782c2ab23da085037ca5ec67c7194aff70f4 Insnw.net.xml
3091-
91abec70c0c2db202419a9a9c150af4e7f2cbe6a015e0ef79743b582f4c74136 Inspectlet.com.xml
3092+
543c3eeb109ffe80ea3f7b84f6fae3c447e4dd89e983dddd1511521df5fc1c6d Inspectlet.com.xml
30923093
3db6c007feed4eef242703bbb8c70c6a243aa6f7506fe28374fad1164fd7732c Instaemail.net.xml
30933094
3a03187d574c9fe24331701f80708d8147ebf6a27cf267cf0fdf56089a616b92 Instart_Logic.com.xml
30943095
1baf2e625f3311d8b200e79db4e4cfb5bbdab56df4285363e0d62826e90ab2bb Instella_Platform.xml

0 commit comments

Comments
 (0)