瀏覽代碼

Update .travis.yml

cclauss 6 年之前
父節點
當前提交
f167ae6c96
共有 1 個文件被更改,包括 4 次插入18 次删除
  1. 4 18
      .travis.yml

+ 4 - 18
.travis.yml

@@ -3,15 +3,9 @@ cache:
   directories:
     - $HOME/.cache/pip
 matrix:
-  allow_failures:
-    - python: "2.7"  # until we can get Python 2 compatibility in place
-  # NOTE: comment out fast_finish if we have to reinstate any allow_failures,
-  # because of https://github.com/travis-ci/travis-ci/issues/1696 (multiple
-  # notifications)
-  fast_finish: true
   include:
     - python: "2.7"    
-    #- python: "3.7"
+    - python: "3.7"
       dist: xenial  # required for Python >= 3.7 (travis-ci/travis-ci#9069)
 install:
   - echo "#install#"
@@ -20,7 +14,7 @@ install:
   # corner packaging cases. So...
   - pip install --upgrade pip
   # Setuptools 34+ seems to get less stable
-  #- pip install 'setuptools>33,<34'
+  # - pip install 'setuptools>33,<34'
   # Pre-requirements sanity test (again, resembles pure, non-dev install
   # environment.) Avoids e.g. spec's 'six' from gumming up our attempts to
   # import our vendorized 'six'.
@@ -28,18 +22,10 @@ install:
   - pip list --format=columns
 before_script:
   - echo "#before_script#"
-  # exit-zero treats all errors as warnings.  The GitHub editor is 127 chars wide
-  - flake8 ./walle/model/e* --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
-  - flake8 ./walle/model/m* --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
-  - flake8 ./walle/model/p* --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
-  - flake8 ./walle/model/r* --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
-  - flake8 ./walle/model/s* --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
-  - flake8 ./walle/model/t* --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
-  - flake8 ./walle/model/u* --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
-  - flake8 ./walle/model/_* --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
-  - flake8 ./walle/model/d* --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
   # 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
   - mkdir -p /tmp/walle/{logs,library,webroot,releases}
 script:
   - echo "#script#"