Skip to content
This repository has been archived by the owner on Sep 17, 2019. It is now read-only.

Commit

Permalink
Merge pull request #55 from GGabriele/pynxos
Browse files Browse the repository at this point in the history
Thanks @GGabriele!
  • Loading branch information
mirceaulinic committed Dec 22, 2016
2 parents ee2a163 + ea2427e commit 0bd7f01
Show file tree
Hide file tree
Showing 94 changed files with 21,241 additions and 4,559 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,4 @@ env

test/unit/test_devices.py

report.json
17 changes: 8 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
language: python

python:
- 2.7
- 2.7
- 3.4
- 3.5

install:
- pip install -r requirements-dev.txt
- pip install .
- pip install -r requirements-dev.txt

deploy:
provider: pypi
Expand All @@ -17,11 +19,8 @@ deploy:
branch: master

script:
- py.test --cov-report= --cov=napalm_nxos test/
- pylama .
- cd test/unit
- nosetests --with-coverage --cover-package napalm_nxos -v TestNXOSDriver:TestGetterNXOSDriver
- nosetests --with-coverage --cover-package napalm_nxos -v TestNXOSDriver:TestNXOSDriver_bgp_neighbors
- nosetests --with-coverage --cover-package napalm_nxos -v TestNXOSDriver:TestNXOSDriver_get_interfaces_ip
- cd ../..
- coverage combine test/unit/.coverage
after_success: coveralls
after_success:
- coveralls
- if [ $TRAVIS_TAG ]; then curl -X POST https://readthedocs.org/build/napalm; fi
2 changes: 1 addition & 1 deletion napalm_nxos/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
import pkg_resources

# Import local modules
from nxos import NXOSDriver # noqa
from napalm_nxos.nxos import NXOSDriver # noqa

try:
__version__ = pkg_resources.get_distribution('napalm-nxos').version
Expand Down
Loading

0 comments on commit 0bd7f01

Please sign in to comment.