Skip to content
This repository was archived by the owner on Feb 10, 2018. It is now read-only.

Commit

Permalink
adding coveralls (#50)
Browse files Browse the repository at this point in the history
* adding coveralls

* combine .verage files
  • Loading branch information
fooelisa authored and mirceaulinic committed Sep 18, 2016
1 parent 354d721 commit 144bef8
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 22 deletions.
47 changes: 25 additions & 22 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ install:
- pip install -r requirements-dev.txt
- pip install .
- 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 @@ -16,26 +17,28 @@ deploy:
script:
- pylama .
- cd test/unit
- nosetests -v TestJunOSDriver:TestGetterJunOSDriver.test_get_bgp_config
- nosetests -v TestJunOSDriver:TestGetterJunOSDriver.test_get_bgp_neighbors
- nosetests -v TestJunOSDriver:TestGetterJunOSDriver.test_get_bgp_neighbors_detail
- nosetests -v TestJunOSDriver:TestGetterJunOSDriver.test_get_environment
- nosetests -v TestJunOSDriver:TestGetterJunOSDriver.test_get_facts
- nosetests -v TestJunOSDriver:TestGetterJunOSDriver.test_get_interfaces
- nosetests -v TestJunOSDriver:TestGetterJunOSDriver.test_get_interfaces_counters
- nosetests -v TestJunOSDriver:TestGetterJunOSDriver.test_get_lldp_neighbors
- nosetests -v TestJunOSDriver:TestGetterJunOSDriver.test_get_lldp_neighbors_detail
- nosetests -v TestJunOSDriver:TestGetterJunOSDriver.test_get_arp_table
- nosetests -v TestJunOSDriver:TestGetterJunOSDriver.test_get_ntp_peers
- nosetests -v TestJunOSDriver:TestGetterJunOSDriver.test_get_ntp_stats
- nosetests -v TestJunOSDriver:TestGetterJunOSDriver.test_get_ntp_servers
- nosetests -v TestJunOSDriver:TestGetterJunOSDriver.test_get_interfaces_ip
- nosetests -v TestJunOSDriver:TestGetterJunOSDriver.test_get_mac_address_table
- nosetests -v TestJunOSDriver:TestGetterJunOSDriver.test_get_route_to
- nosetests -v TestJunOSDriver:TestGetterJunOSDriver.test_get_snmp_information
- nosetests -v TestJunOSDriver:TestGetterJunOSDriver.test_get_probes_config
- nosetests -v TestJunOSDriver:TestGetterJunOSDriver.test_get_probes_results
- nosetests -v TestJunOSDriver:TestGetterJunOSDriver.test_traceroute
- nosetests -v TestJunOSDriver:TestGetterJunOSDriver.test_get_users
- nosetests -v TestJunOSDriver:TestGetterJunOSDriver.test_get_optics
- nosetests --with-coverage --cover-package napalm_junos -v TestJunOSDriver:TestGetterJunOSDriver.test_get_bgp_config
- nosetests --with-coverage --cover-package napalm_junos -v TestJunOSDriver:TestGetterJunOSDriver.test_get_bgp_neighbors
- nosetests --with-coverage --cover-package napalm_junos -v TestJunOSDriver:TestGetterJunOSDriver.test_get_bgp_neighbors_detail
- nosetests --with-coverage --cover-package napalm_junos -v TestJunOSDriver:TestGetterJunOSDriver.test_get_environment
- nosetests --with-coverage --cover-package napalm_junos -v TestJunOSDriver:TestGetterJunOSDriver.test_get_facts
- nosetests --with-coverage --cover-package napalm_junos -v TestJunOSDriver:TestGetterJunOSDriver.test_get_interfaces
- nosetests --with-coverage --cover-package napalm_junos -v TestJunOSDriver:TestGetterJunOSDriver.test_get_interfaces_counters
- nosetests --with-coverage --cover-package napalm_junos -v TestJunOSDriver:TestGetterJunOSDriver.test_get_lldp_neighbors
- nosetests --with-coverage --cover-package napalm_junos -v TestJunOSDriver:TestGetterJunOSDriver.test_get_lldp_neighbors_detail
- nosetests --with-coverage --cover-package napalm_junos -v TestJunOSDriver:TestGetterJunOSDriver.test_get_arp_table
- nosetests --with-coverage --cover-package napalm_junos -v TestJunOSDriver:TestGetterJunOSDriver.test_get_ntp_peers
- nosetests --with-coverage --cover-package napalm_junos -v TestJunOSDriver:TestGetterJunOSDriver.test_get_ntp_stats
- nosetests --with-coverage --cover-package napalm_junos -v TestJunOSDriver:TestGetterJunOSDriver.test_get_ntp_servers
- nosetests --with-coverage --cover-package napalm_junos -v TestJunOSDriver:TestGetterJunOSDriver.test_get_interfaces_ip
- nosetests --with-coverage --cover-package napalm_junos -v TestJunOSDriver:TestGetterJunOSDriver.test_get_mac_address_table
- nosetests --with-coverage --cover-package napalm_junos -v TestJunOSDriver:TestGetterJunOSDriver.test_get_route_to
- nosetests --with-coverage --cover-package napalm_junos -v TestJunOSDriver:TestGetterJunOSDriver.test_get_snmp_information
- nosetests --with-coverage --cover-package napalm_junos -v TestJunOSDriver:TestGetterJunOSDriver.test_get_probes_config
- nosetests --with-coverage --cover-package napalm_junos -v TestJunOSDriver:TestGetterJunOSDriver.test_get_probes_results
- nosetests --with-coverage --cover-package napalm_junos -v TestJunOSDriver:TestGetterJunOSDriver.test_traceroute
- nosetests --with-coverage --cover-package napalm_junos -v TestJunOSDriver:TestGetterJunOSDriver.test_get_users
- nosetests --with-coverage --cover-package napalm_junos -v TestJunOSDriver:TestGetterJunOSDriver.test_get_optics
- cd ../..
- coverage combine test/unit/.coverage
after_success: coveralls
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[![PyPI](https://img.shields.io/pypi/v/napalm-junos.svg)](https://pypi.python.org/pypi/napalm-junos)
[![PyPI](https://img.shields.io/pypi/dm/napalm-junos.svg)](https://pypi.python.org/pypi/napalm-junos)
[![Build Status](https://travis-ci.org/napalm-automation/napalm-junos.svg?branch=master)](https://travis-ci.org/napalm-automation/napalm-junos)
[![Coverage Status](https://coveralls.io/repos/github/napalm-automation/napalm-junos/badge.svg?branch=master)](https://coveralls.io/github/napalm-automation/napalm-junos)


# napalm-junos

0 comments on commit 144bef8

Please sign in to comment.