github.com/n00py/Slackor@v0.0.0-20200610224921-d007fcea1740/impacket/.travis.yml (about)

     1  group: travis_latest
     2  language: python
     3  cache: pip
     4  
     5  matrix:
     6    include:
     7      - python: 2.7
     8        env: NO_REMOTE=true, TOXENV=py27
     9      - python: 3.6
    10        env: NO_REMOTE=true, TOXENV=py36
    11      - python: 3.7
    12        env: NO_REMOTE=true, TOXENV=py37
    13        dist: xenial  # required for Python >= 3.7
    14  
    15  install: pip install flake8 tox -r requirements.txt
    16    
    17  before_script:
    18    # stop the build if there are Python syntax errors or undefined names
    19    - flake8 . --count --select=E9,F72,F82 --show-source --statistics
    20    # exit-zero treats all errors as warnings.  The GitHub editor is 127 chars wide
    21    - flake8 . --count --ignore=E1,E2,E3,E501,W291,W293 --exit-zero --max-complexity=65 --max-line-length=127 --statistics
    22  
    23  script: tox