Add .travis.yml, fix executable flag on check script and remove pdb from
imports
This commit is contained in:
parent
5dbe872abf
commit
be42ec4b68
5
.travis.yml
Normal file
5
.travis.yml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
sudo: false
|
||||||
|
language: python
|
||||||
|
python:
|
||||||
|
- "3.4"
|
||||||
|
script: scripts/check
|
2
scripts/check
Normal file → Executable file
2
scripts/check
Normal file → Executable file
|
@ -56,8 +56,6 @@ def get_hosts_data(srcdir):
|
||||||
|
|
||||||
chunks = line.split("=")
|
chunks = line.split("=")
|
||||||
if len(chunks) == 2:
|
if len(chunks) == 2:
|
||||||
import pdb
|
|
||||||
# pdb.set_trace()
|
|
||||||
(k, v) = (x.strip().lower() for x in chunks)
|
(k, v) = (x.strip().lower() for x in chunks)
|
||||||
|
|
||||||
if k == "port":
|
if k == "port":
|
||||||
|
|
Loading…
Reference in a new issue