Skip to content

Commit

Permalink
Merge pull request #350 from sahilsuneja1/bandit
Browse files Browse the repository at this point in the history
Adding bandit checks to travis
  • Loading branch information
nadgowdas authored Jan 3, 2018
2 parents bac8ce4 + 8fd8c95 commit f7f870c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
sudo: required
dist: trusty
group: deprecated-2017Q4
language: python

services:
Expand Down Expand Up @@ -43,6 +45,7 @@ install:

# command to run tests
script:
- bandit -r crawler || true
- flake8 --count --max-complexity=10 --statistics crawler
- sudo -H python setup.py test --addopts '--cov=.'

Expand Down
1 change: 1 addition & 0 deletions requirements-test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ pylint==1.6.2
pytest==2.9.2
pytest-cov==2.3.0
mock==2.0.0
bandit==1.4.0

0 comments on commit f7f870c

Please sign in to comment.