Skip to content

Commit

Permalink
feature #159; add allow_failure to travis pep8 job
Browse files Browse the repository at this point in the history
  • Loading branch information
capelastegui committed Aug 10, 2020
1 parent 6f9e3ec commit a3fd04b
Showing 1 changed file with 21 additions and 7 deletions.
28 changes: 21 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,18 @@ sudo: false

language: python

matrix:
include:
- os: linux
python: 2.7.15
- os: linux
python: 3.6
os: linux

python:
- 2.7.15
- 3.6

#matrix:
# include:
# - os: linux
# python: 2.7.15
# - os: linux
# python: 3.6
# - os: osx
# language: generic
# env: PYTHON=2.7
Expand Down Expand Up @@ -52,9 +58,17 @@ install:
- pip install codecov

script:
- pycodestyle ./ --ignore=E402,W
- coverage run -m unittest discover


after_success:
- codecov

jobs:
allow_failures:
- stage: pep8
include:
- stage: pep8
python: 3.6
script: pycodestyle ./ --ignore=E402,W
after_success: skip

0 comments on commit a3fd04b

Please sign in to comment.