From 9c3559aa981de546c6974f89c0abe2bfe65e648e Mon Sep 17 00:00:00 2001 From: cclauss Date: Tue, 21 Aug 2018 17:11:38 +0200 Subject: [PATCH 1/2] Travis CI: Remove branches: only: master, dev --- .travis.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1b6f9c53..42b24f67 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,10 +4,6 @@ cache: pip python: - 2.7 - 3.6 -branches: - only: - - master - - dev install: - pip install -r requirements.txt - pip install flake8 # pytest # add another testing frameworks later @@ -15,7 +11,7 @@ before_script: # stop the build if there are Python syntax errors or undefined names - flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide - - flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics + - flake8 . --count --exit-zero --ignore=E265 --max-complexity=10 --max-line-length=127 --statistics script: - true # pytest --capture=sys # add other tests here notifications: From 47e823e81726e1981fdcca2665dcce0d86ad345c Mon Sep 17 00:00:00 2001 From: cclauss Date: Wed, 22 Aug 2018 10:30:38 +0200 Subject: [PATCH 2/2] Update .travis.yml --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 42b24f67..fd330019 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,7 @@ before_script: # stop the build if there are Python syntax errors or undefined names - flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide - - flake8 . --count --exit-zero --ignore=E265 --max-complexity=10 --max-line-length=127 --statistics + - flake8 . --count --exit-zero --ignore=E265,W2 --max-complexity=10 --max-line-length=127 --statistics script: - true # pytest --capture=sys # add other tests here notifications: