Merge pull request #12 from fooelisa/develop

adding coveralls
This commit is contained in:
Elisa Jasinska authored and GitHub committed 2016-09-23 23:20:14 +02:00
commit 8f50abde62
2 files changed
+10 -5

No files matched your search

+8 -5
View File
@@ -4,6 +4,7 @@ python:
install:
- pip install -r requirements.txt
- pip install .
- pip install coveralls
deploy:
provider: pypi
user: dbarroso
@@ -14,9 +15,11 @@ deploy:
branch: master
script:
- cd test/unit
- nosetests -v TestFortiOSDriver:TestGetterFortiOSDriver.test_get_bgp_neighbors
- nosetests -v TestFortiOSDriver:TestGetterFortiOSDriver.test_get_environment
- nosetests -v TestFortiOSDriver:TestGetterFortiOSDriver.test_get_facts
- nosetests -v TestFortiOSDriver:TestGetterFortiOSDriver.test_get_interfaces
- nosetests -v TestFortiOSDriver:TestGetterFortiOSDriver.test_get_interfaces_counters
- nosetests --with-coverage --cover-package napalm_fortios -v TestFortiOSDriver:TestGetterFortiOSDriver.test_get_bgp_neighbors
- nosetests --with-coverage --cover-package napalm_fortios -v TestFortiOSDriver:TestGetterFortiOSDriver.test_get_environment
- nosetests --with-coverage --cover-package napalm_fortios -v TestFortiOSDriver:TestGetterFortiOSDriver.test_get_facts
- nosetests --with-coverage --cover-package napalm_fortios -v TestFortiOSDriver:TestGetterFortiOSDriver.test_get_interfaces
- nosetests --with-coverage --cover-package napalm_fortios -v TestFortiOSDriver:TestGetterFortiOSDriver.test_get_interfaces_counters
- cd ../..
- coverage combine test/unit/.coverage
after_success: coveralls
+2
View File
@@ -1,5 +1,7 @@
[![PyPI](https://img.shields.io/pypi/v/napalm-fortios.svg)](https://pypi.python.org/pypi/napalm-fortios)
[![PyPI](https://img.shields.io/pypi/dm/napalm-fortios.svg)](https://pypi.python.org/pypi/napalm-fortios)
[![Build Status](https://travis-ci.org/napalm-automation/napalm-fortios.svg?branch=master)](https://travis-ci.org/napalm-automation/napalm-fortios)
[![Coverage Status](https://coveralls.io/repos/github/napalm-automation/napalm-fortios/badge.svg?branch=master)](https://coveralls.io/github/napalm-automation/napalm-fortios)
# napalm-fortios