From 4c50a827aa1b1783ef99aa4246767c0305204238 Mon Sep 17 00:00:00 2001 From: Martin Varga Date: Wed, 16 Jan 2019 11:30:42 +0100 Subject: [PATCH] Added versions to packages in travis file. Added settings for pycodestyle check. --- .travis.yml | 2 +- tox.ini | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 tox.ini diff --git a/.travis.yml b/.travis.yml index 402722ad..87a790f3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,7 @@ language: python python: - '3.6' install: - - pip install pytest pytest-cov pycodestyle + - pip install pytest==3.7.1 pytest-cov==2.6.1 pycodestyle==2.4.0 script: - pytest crayfish/tests/ --cov=crayfish --cov-report term-missing - pycodestyle --statistics crayfish diff --git a/tox.ini b/tox.ini new file mode 100644 index 00000000..53c905f9 --- /dev/null +++ b/tox.ini @@ -0,0 +1,2 @@ +[pycodestyle] +max-line-length = 128 \ No newline at end of file