Skip to content

Commit 540e6c5

Browse files
committed
Fix check-links
1 parent ea28703 commit 540e6c5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ script:
2727
- py.test
2828
- npm test
2929
# Check links in markdown files:
30-
- python -m pytest_check_links -k .md
30+
- python -m pytest_check_links --links-ext=.md -o testpaths=. -o addopts=
3131
# Check docs can be build + links
3232
- pushd docs
3333
- make html

{{cookiecutter.github_project_name}}/.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ script:
6363
make html || EXIT_STATUS=$?
6464
make linkcheck || EXIT_STATUS=$?
6565
cd ..
66-
python -m pytest_check_links || EXIT_STATUS=$?
66+
python -m pytest_check_links --links-ext=.md -o testpaths=. -o addopts= || EXIT_STATUS=$?
6767
(exit $EXIT_STATUS)
6868
fi
6969
after_success:

0 commit comments

Comments
 (0)