Skip to content

Commit

Permalink
add travis
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandrogr committed Sep 27, 2017
1 parent aaf790b commit db51488
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 4 deletions.
11 changes: 11 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
language: python

services: docker

python:
- "3.6"

install: pip install tox

script:
- tox
12 changes: 10 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,17 @@ Deeptracy

Deeptracy scans your project dependencies to spot vulnerabilities.

.. image:: https://readthedocs.org/projects/deeptracy/badge/?version=latest
:target: http://deeptracy.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status

.. image:: https://travis-ci.org/BBVA/deeptracy.svg?branch=master
:target: https://travis-ci.org/BBVA/deeptracy
:alt: Build Status

.. image:: https://raw.githubusercontent.com/BBVA/deeptracy/develop/docs/_static/deeptracy-logo-small.png
:alt: Deeptracy logo
:width: 250 px
:alt: Deeptracy logo
:width: 250 px


+----------------+----------------------------------------------+
Expand Down
1 change: 0 additions & 1 deletion deeptracy/celery.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
from deeptracy.config import BROKER_URI
from deeptracy_core.dal.database import db
from deeptracy.plugins.store import plugin_store
from deeptracy_core.dal.project import Project

db.init_engine() # Init database engine
plugin_store.load_plugins() # Load analyzer plugins
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ deps =
-rrequirements.txt
commands =
coverage run --source deeptracy -m unittest discover -s tests/unit
coverage report -m --fail-under 80
# coverage report -m --fail-under 80
coverage xml -o coverage-reports/report.xml

[testenv:flake8]
Expand Down

0 comments on commit db51488

Please sign in to comment.