From 9ad2264edf756fc8312f240620013f31e0351de5 Mon Sep 17 00:00:00 2001 From: Kfir Hadas Date: Wed, 17 May 2017 10:53:06 +0300 Subject: [PATCH 1/3] Travis config --- .travis.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..0a3297b --- /dev/null +++ b/.travis.yml @@ -0,0 +1,15 @@ +language: python + +python: + - 3.6 + +dist: xenial +sudo: false + +cache: pip + +install: + - pip install --upgrade pep8 + +script: + - pep8 nyaa/ --show-source --max-line-length=100 From d7694d6c620597d95fa7730c0fef16bf64c52a46 Mon Sep 17 00:00:00 2001 From: Kfir Hadas Date: Wed, 17 May 2017 11:20:42 +0300 Subject: [PATCH 2/3] Disable email notifications --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index 0a3297b..feced64 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,3 +13,6 @@ install: script: - pep8 nyaa/ --show-source --max-line-length=100 + +notifications: + email: false From 2c5a577f7edee4eda867be3b6867611611958bd6 Mon Sep 17 00:00:00 2001 From: Kfir Hadas Date: Wed, 17 May 2017 12:24:17 +0300 Subject: [PATCH 3/3] Use pycodestyle --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index feced64..495b891 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,10 +9,10 @@ sudo: false cache: pip install: - - pip install --upgrade pep8 + - pip install --upgrade pycodestyle script: - - pep8 nyaa/ --show-source --max-line-length=100 + - pycodestyle nyaa/ --show-source --max-line-length=100 notifications: email: false