Skip to content

Commit

Permalink
run linter on travis
Browse files Browse the repository at this point in the history
  • Loading branch information
xi committed Jun 19, 2018
1 parent 1c001fe commit fc32c7b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@ python:
# command to install dependencies
install:
- "pip install -r dependencies.txt"
- "pip install flake8 flake8-isort"
- npm install -g casperjs
# create the database
- "cp Lagerregal/template_development.py Lagerregal/settings.py"
- "./manage.py migrate"
# command to run tests
script: "./manage.py test"
script:
- flake8 --config=setup.cfg
- "./manage.py test"

0 comments on commit fc32c7b

Please sign in to comment.