forked from mirrors/thatmattlove-hyperglass
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 update -q
|
||||||
- sudo apt-get install -y redis-server redis-tools
|
- sudo apt-get install -y redis-server redis-tools
|
||||||
- sudo systemctl start redis-server
|
- sudo systemctl start redis-server
|
||||||
- pip3 install black
|
- pip3 install -r ./ci/requirements_dev.txt
|
||||||
- pip3 install pylint
|
|
||||||
install:
|
install:
|
||||||
- pip3 install -r requirements.txt
|
- pip3 install -r requirements.txt
|
||||||
before_script:
|
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")
|
click.secho(hg_response.text, fg="red")
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
click.secho(f"Exception occurred:\n{e}")
|
click.secho(f"Exception occurred:\n{e}")
|
||||||
# No Location Test
|
# No Target Test
|
||||||
try:
|
try:
|
||||||
click.secho("Starting No Target test...", fg="black")
|
click.secho("Starting No Target test...", fg="black")
|
||||||
test_query = construct_test("bgp_route", location, "")
|
test_query = construct_test("bgp_route", location, "")
|
||||||
|
|
|
||||||
|
|
@ -11,3 +11,4 @@ click
|
||||||
passlib
|
passlib
|
||||||
prometheus_client
|
prometheus_client
|
||||||
redis
|
redis
|
||||||
|
requests
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue