diff --git a/.travis.yml b/.travis.yml index 3bc861a..85918a6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,7 +8,9 @@ python: - "3.6" install: - - pip install -r requirements.txt + - pip install -r requirements.txt -r tests/requirements.txt script: - PYTHONPATH=. python tests/nldecap_tests.py + # 1 = fatal error, 2 = error, 32 = usage error + - (pylint nldecap.py; exit $(($? & $((1 + 2 + 32))))) diff --git a/tests/requirements.txt b/tests/requirements.txt new file mode 100644 index 0000000..7fb0ea1 --- /dev/null +++ b/tests/requirements.txt @@ -0,0 +1 @@ +pylint