From 38e0aa50c8de960273595a5ba5ac3c3e9cb960f0 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Fri, 13 Jul 2018 09:48:25 -0400 Subject: [PATCH 1/2] use pip for installing requirements in travis --- .travis.yml | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index 47ca1470c2..7bddbbb037 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,16 +8,18 @@ python: sudo: false install: - - git clone https://github.com/ktbyers/netmiko.git - - cd netmiko - - python setup.py install - - pip install -r requirements.txt - - cd .. - - wget https://pypi.python.org/packages/source/g/gtextfsm/gtextfsm-0.2.1.tar.gz - - tar -xzvf gtextfsm-0.2.1.tar.gz - - cd gtextfsm-0.2.1 - - python setup.py install - - cd .. + - pip install netmiko + - pip install gtextfsm + #- git clone https://github.com/ktbyers/netmiko.git + #- cd netmiko + #- python setup.py install + #- pip install -r requirements.txt + #- cd .. + #- wget https://pypi.python.org/packages/source/g/gtextfsm/gtextfsm-0.2.1.tar.gz + #- tar -xzvf gtextfsm-0.2.1.tar.gz + #- cd gtextfsm-0.2.1 + #- python setup.py install + #- cd .. - export PYTHONPATH=$PYTHONPATH:/home/travis/build/networktocode/ntc-templates/gtextfsm-0.2.1/textfsm - pip install ansible==1.9.2 - pip install terminal From cac2a9b0f66c23e72c8772c632d667b03bd6ba67 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Fri, 13 Jul 2018 09:53:57 -0400 Subject: [PATCH 2/2] Remove lines since tests pass --- .travis.yml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7bddbbb037..037c584bec 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,16 +10,6 @@ sudo: false install: - pip install netmiko - pip install gtextfsm - #- git clone https://github.com/ktbyers/netmiko.git - #- cd netmiko - #- python setup.py install - #- pip install -r requirements.txt - #- cd .. - #- wget https://pypi.python.org/packages/source/g/gtextfsm/gtextfsm-0.2.1.tar.gz - #- tar -xzvf gtextfsm-0.2.1.tar.gz - #- cd gtextfsm-0.2.1 - #- python setup.py install - #- cd .. - export PYTHONPATH=$PYTHONPATH:/home/travis/build/networktocode/ntc-templates/gtextfsm-0.2.1/textfsm - pip install ansible==1.9.2 - pip install terminal