OpenWISP

[website] Add check in the travis build which ensures there are no broken links

Note: this task can be done only once this other task has been completed: [website] Create travis build to run linters (by you or another student).

Let's add a way to ensure there are no broken links in our website!

First of all, learn to do this manually, proceed as follows.

  • clone the OpenWISP-Website repository and cd into it
  • open a terminal window and run: python -m SimpleHTTPServer 8001
  • open another terminal window and run:
pip install pylinkvalidator
pylinkvalidate.py http://localhost:8001/

Cool right? Now find a way to do this in the travis-ci build (you have to edit the .travis.yml file).

Once ready, send a pull request.

Task tags

  • python
  • travis
  • qa

Students who completed this task

EdgeKing810

Task type

  • code Code
  • done_all Quality Assurance
close

2018