adding coveralls
This commit is contained in:
1 parent
db99faf523
commit
224944dac7
2 files changed
+10
-5
No files matched your search
+8
-5
@@ -4,6 +4,7 @@ python:
|
|||||||
install:
|
install:
|
||||||
- pip install -r requirements.txt
|
- pip install -r requirements.txt
|
||||||
- pip install .
|
- pip install .
|
||||||
|
- pip install coveralls
|
||||||
deploy:
|
deploy:
|
||||||
provider: pypi
|
provider: pypi
|
||||||
user: dbarroso
|
user: dbarroso
|
||||||
@@ -14,9 +15,11 @@ deploy:
|
|||||||
branch: master
|
branch: master
|
||||||
script:
|
script:
|
||||||
- cd test/unit
|
- cd test/unit
|
||||||
- nosetests -v TestFortiOSDriver:TestGetterFortiOSDriver.test_get_bgp_neighbors
|
- nosetests --with-coverage --cover-package napalm_fortios -v TestFortiOSDriver:TestGetterFortiOSDriver.test_get_bgp_neighbors
|
||||||
- nosetests -v TestFortiOSDriver:TestGetterFortiOSDriver.test_get_environment
|
- nosetests --with-coverage --cover-package napalm_fortios -v TestFortiOSDriver:TestGetterFortiOSDriver.test_get_environment
|
||||||
- nosetests -v TestFortiOSDriver:TestGetterFortiOSDriver.test_get_facts
|
- nosetests --with-coverage --cover-package napalm_fortios -v TestFortiOSDriver:TestGetterFortiOSDriver.test_get_facts
|
||||||
- nosetests -v TestFortiOSDriver:TestGetterFortiOSDriver.test_get_interfaces
|
- nosetests --with-coverage --cover-package napalm_fortios -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_interfaces_counters
|
||||||
- cd ../..
|
- cd ../..
|
||||||
|
- coverage combine test/unit/.coverage
|
||||||
|
after_success: coveralls
|
||||||
@@ -1,5 +1,7 @@
|
|||||||
[](https://pypi.python.org/pypi/napalm-fortios)
|
[](https://pypi.python.org/pypi/napalm-fortios)
|
||||||
[](https://pypi.python.org/pypi/napalm-fortios)
|
[](https://pypi.python.org/pypi/napalm-fortios)
|
||||||
[](https://travis-ci.org/napalm-automation/napalm-fortios)
|
[](https://travis-ci.org/napalm-automation/napalm-fortios)
|
||||||
|
[](https://coveralls.io/github/napalm-automation/napalm-fortios)
|
||||||
|
|
||||||
|
|
||||||
# napalm-fortios
|
# napalm-fortios
|
||||||
Reference in new issue
Block a user