Skip to content

Commit

Permalink
Merge pull request #413 from dbcli/feature/travis-fail-fast
Browse files Browse the repository at this point in the history
Fail on first error in travis script.
  • Loading branch information
amjith authored Apr 27, 2017
2 parents 2ca02b8 + 5074ccc commit 73dd5f2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@ install:
- pip install git+https://github.com/hayd/pep8radius.git

script:
- set -e
- coverage run --source mycli -m py.test
- cd test
- behave
- cd ..
# check for pep8 errors, only looking at branch vs master. If there are errors, show diff and return an error code.
- pep8radius master --docformatter --error-status || ( pep8radius master --docformatter --diff; false )
- set +e

after_success:
- coverage combine
Expand Down

0 comments on commit 73dd5f2

Please sign in to comment.