From be5e087426e20c51f3b6d8f75125f2b52e5a8ede Mon Sep 17 00:00:00 2001 From: svalouch Date: Thu, 26 Sep 2019 08:26:59 +0200 Subject: [PATCH] First try at Travis --- .travis.yml | 13 +++++++++++++ setup.cfg | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..4fddc96 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,13 @@ +--- +language: python +python: + - '3.6' + - '3.7' +install: + - pip install -r requirements.txt + - pip install -r requirements_develop.txt + - pip install . +script: + - pytest --cov=simplezfs --cov-report=term-missing ${@} + - mypy src/simplezfs + - flake8 diff --git a/setup.cfg b/setup.cfg index 2985bc0..d0b23d7 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,7 +1,7 @@ [flake8] ignore = E501,E402 -max-line-length = 120 +max-line-length = 119 exclude = .git,.tox,build,_build,env,venv,__pycache__ [tool:pytest]