mirror of
https://github.com/thatmattlove/hyperglass.git
synced 2026-01-17 08:48:05 +00:00
added dev requirements for travis
This commit is contained in:
parent
9943459f6e
commit
bfbb9f58a4
4 changed files with 7 additions and 3 deletions
|
|
@ -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:
|
||||
|
|
|
|||
4
ci/requirements_dev.txt
Normal file
4
ci/requirements_dev.txt
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
black
|
||||
pylint
|
||||
requests
|
||||
logzero
|
||||
|
|
@ -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, "")
|
||||
|
|
|
|||
|
|
@ -11,3 +11,4 @@ click
|
|||
passlib
|
||||
prometheus_client
|
||||
redis
|
||||
requests
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue