Skip to content

Commit

Permalink
fix links and improve travis build test
Browse files Browse the repository at this point in the history
  • Loading branch information
snowme34 committed Jan 13, 2019
1 parent f2191f4 commit 1de210f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
language: minimal
# services:
# - docker
script:
- docker run -ti --rm -v $PWD:/mnt:ro dkhamsing/awesome_bot --allow-dupe --allow-redirect --skip-save-results `find . -name "*.md"`
- docker run -ti --rm -v $PWD:/mnt:ro dkhamsing/awesome_bot --allow-dupe --allow-redirect --skip-save-results --white-list $(paste -d, -s /mnt/travis_link_check_whitelist.txt) `find . -regex ".*\.\(md\|rst\)$"`
4 changes: 2 additions & 2 deletions docs/source/reference/commands/unix-and-linux-commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -1894,8 +1894,8 @@ Also config file available
* [How to download all files (but not HTML) from a website using wget?](https://stackoverflow.com/questions/8755229/how-to-download-all-files-but-not-html-from-a-website-using-wget)
```bash
wget -A pdf,jpg -m -p -E -k -K -np http://site/path/
wget --accept pdf,jpg --mirror --page-requisites --adjust-extension --convert-links --backup-converted --no-parent http://site/path/
wget -A pdf,jpg -m -p -E -k -K -np <some-url>
wget --accept pdf,jpg --mirror --page-requisites --adjust-extension --convert-links --backup-converted --no-parent <some-url>
```
* Calculator
Expand Down
3 changes: 3 additions & 0 deletions travis_link_check_whitelist.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
xlinux.nist.gov
example.com
localhost

0 comments on commit 1de210f

Please sign in to comment.