mirror of
https://github.com/ru-de/faq.git
synced 2024-11-09 20:21:01 +00:00
check broken links
This commit is contained in:
parent
65d6fdd833
commit
64879c57bb
10
.travis.yml
10
.travis.yml
@ -8,7 +8,17 @@ before_install:
|
|||||||
- cat .dict_page | grep -oP -f .current_release | wget -q -i - -O dictionary.otx
|
- cat .dict_page | grep -oP -f .current_release | wget -q -i - -O dictionary.otx
|
||||||
- unzip dictionary.otx
|
- unzip dictionary.otx
|
||||||
- git config core.quotepath false
|
- git config core.quotepath false
|
||||||
|
- go get -u github.com/peterhellberg/serve
|
||||||
|
- go get -u github.com/russross/blackfriday-tool
|
||||||
|
- find *.md -exec blackfriday-tool {} {}.html \;
|
||||||
|
- nohup serve -addr="0.0.0.0:80" >/dev/null 2>&1 &
|
||||||
|
- git diff HEAD^ --name-status | grep "^D" -v | sed 's/^.\t//g' > changed_files_links
|
||||||
|
- sed -i -e 's/^/http:\/\/localhost\//' changed_files_links
|
||||||
|
- sed -i -e 's/$/.html/' changed_files_links
|
||||||
|
- wget --spider -erobots=off -r -nd -nv -H -l 1 -o broken_links.log -i changed_files_links
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
- cat broken_links.log
|
||||||
- sh files/.travis.sh
|
- sh files/.travis.sh
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
|
@ -27,3 +27,5 @@
|
|||||||
Женский чат в Skype: https://join.skype.com/mA676LOZb1Eg
|
Женский чат в Skype: https://join.skype.com/mA676LOZb1Eg
|
||||||
|
|
||||||
Группа «ИТ Берлин» в Facebook: https://www.facebook.com/groups/itberlin/
|
Группа «ИТ Берлин» в Facebook: https://www.facebook.com/groups/itberlin/
|
||||||
|
|
||||||
|
test
|
Loading…
Reference in New Issue
Block a user