From bfbb9f58a4e6bc08e5e8dc6fb87316d2ff0ea7ab Mon Sep 17 00:00:00 2001 From: checktheroads Date: Sun, 16 Jun 2019 17:55:29 -0700 Subject: [PATCH] added dev requirements for travis --- .travis.yml | 3 +-- ci/requirements_dev.txt | 4 ++++ manage.py | 2 +- requirements.txt | 1 + 4 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 ci/requirements_dev.txt diff --git a/.travis.yml b/.travis.yml index 86a22c7..955c00f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,8 +6,7 @@ before_install: - sudo apt-get update -q - sudo apt-get install -y redis-server redis-tools - sudo systemctl start redis-server - - pip3 install black - - pip3 install pylint + - pip3 install -r ./ci/requirements_dev.txt install: - pip3 install -r requirements.txt before_script: diff --git a/ci/requirements_dev.txt b/ci/requirements_dev.txt new file mode 100644 index 0000000..a5a4e2b --- /dev/null +++ b/ci/requirements_dev.txt @@ -0,0 +1,4 @@ +black +pylint +requests +logzero diff --git a/manage.py b/manage.py index 237fe99..4301334 100755 --- a/manage.py +++ b/manage.py @@ -261,7 +261,7 @@ def test_hyperglass( click.secho(hg_response.text, fg="red") except Exception as e: click.secho(f"Exception occurred:\n{e}") - # No Location Test + # No Target Test try: click.secho("Starting No Target test...", fg="black") test_query = construct_test("bgp_route", location, "") diff --git a/requirements.txt b/requirements.txt index 31d46d5..3dd4779 100644 --- a/requirements.txt +++ b/requirements.txt @@ -11,3 +11,4 @@ click passlib prometheus_client redis +requests