diff --git a/.travis.yml b/.travis.yml index 05ab672..934153d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,3 +23,6 @@ matrix: - dub test --compiler=$DC --build=unittest-cov --build-mode=singleFile after_success: - bash <(curl -s https://codecov.io/bash) + allow_failures: + - d: dmd-nightly + - d: dmd-beta diff --git a/source/dlangbot/warnings.d b/source/dlangbot/warnings.d index ca28e35..fa9ef5f 100644 --- a/source/dlangbot/warnings.d +++ b/source/dlangbot/warnings.d @@ -32,8 +32,7 @@ void checkBugzilla(in ref PullRequest pr, ref UserMessage[] msgs, if (pr.base.ref_ != "stable") { if (bugzillaIssues.any!(i => i.status.among("NEW", "ASSIGNED", "REOPENED") && - i.severity.among("critical", "major", - "blocker", "regression") && + i.severity.among("critical", "blocker", "regression") && refs.canFind!(r => r.id == i.id && r.fixed))) { msgs ~= UserMessage(UserMessage.Type.Warning,