Skip to content

Commit

Permalink
Merge pull request #15 from fooelisa/develop
Browse files Browse the repository at this point in the history
adding coveralls
  • Loading branch information
fooelisa committed Sep 23, 2016
2 parents faa95ea + b94dcfd commit a6c0f48
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@ python:
install:
- pip install -r requirements.txt
- pip install .
- git clone https://github.com/napalm-automation/napalm-base.git napalm-automation/napalm-base
- cd napalm-automation/napalm-base
- python setup.py install
- cd ../..
- pip install -e git+https://github.com/napalm-automation/napalm-base.git@develop#egg=napalm-base
- pip install coveralls
deploy:
provider: pypi
user: dbarroso
Expand All @@ -18,6 +16,8 @@ deploy:
branch: master
script:
- cd test/unit
- nosetests -v TestDriver:TestGetterDriver.test_get_facts
- nosetests -v TestDriver:TestGetterDriver.test_get_interfaces
- nosetests --with-coverage --cover-package napalm_panos -v TestDriver:TestGetterDriver.test_get_facts
- nosetests --with-coverage --cover-package napalm_panos -v TestDriver:TestGetterDriver.test_get_interfaces
- cd ../..
- coverage combine test/unit/.coverage
after_success: coveralls
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[![PyPI](https://img.shields.io/pypi/v/napalm-panos.svg)](https://pypi.python.org/pypi/napalm-panos)
[![PyPI](https://img.shields.io/pypi/dm/napalm-panos.svg)](https://pypi.python.org/pypi/napalm-panos)
[![Build Status](https://travis-ci.org/napalm-automation/napalm-panos.svg?branch=master)](https://travis-ci.org/napalm-automation/napalm-panos)
[![Coverage Status](https://coveralls.io/repos/github/napalm-automation/napalm-panos/badge.svg?branch=master)](https://coveralls.io/github/napalm-automation/napalm-panos)

# napalm-panos
# napalm-panos

0 comments on commit a6c0f48

Please sign in to comment.