#!/bin/bash

cd "$(dirname "${BASH_SOURCE[0]}")/.." \
    || exit 1

# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

./.travis/is-master.sh \
    || exit 0

# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

gem install awesome_bot \
    && find . -name "*.md" \
              -not -path "./node_modules/*" \
              -not -path "./dist/*" \
              -not -path "./coverage/*" \
              -exec awesome_bot \
                        --allow-dupe \
                        --allow-redirect \
                        --set-timeout 150 \
                        --white-list "example1.com,example2.com,example3.com,html5sec.org,github.com/sonarwhal/" \
                        {} +;
exitCode=$?

node .travis/report-broken-links.js

exit $exitCode

#!/bin/bash

cd "$(dirname "${BASH_SOURCE[0]}")/.." \
    || exit 1

# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

./.travis/is-master.sh \
    || exit 0

# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

gem install awesome_bot \
    && find . -name "*.md" \
              -not -path "./node_modules/*" \
              -not -path "./dist/*" \
              -not -path "./coverage/*" \
              -exec awesome_bot \
                        --allow-dupe \
                        --allow-redirect \
                        --set-timeout 150 \
                        --white-list "example1.com,example2.com,example3.com,github.com/sonarwhal/" \
                        {} +;
exitCode=$?

node .travis/report-broken-links.js

exit $exitCode

Remove html5sec.org from the check links whitelist
Remove html5sec.org from the check links whitelist

There is no longer a need to white list `html5sec.org` as now
the links are checked independently of the regular builds.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Ref:

  * https://github.com/sonarwhal/sonar/issues/288
  * https://github.com/sonarwhal/sonar/commit/ce8b1a03447f48fbcb9b74f1103c1977138a84b3
