Skip to content

Commit

Permalink
CI clean
Browse files Browse the repository at this point in the history
  • Loading branch information
pierreglaser committed Mar 11, 2019
1 parent e48ce02 commit bd513a6
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,16 +95,9 @@ install:
- $PYTHON_EXE -m pip list
before_script:
# stop the build if there are Python syntax errors or undefined names
- $PYTHON_EXE --version
- |
if [[ "$BUILD_PY_FROM_SOURCE" != 1 ]]; then
$PYTHON_EXE -m flake8 $(pwd) --count --verbose --select=E901,E999,F821,F822,F823 --show-source --statistics
fi
- $PYTHON_EXE -m flake8 . --count --verbose --select=E901,E999,F821,F822,F823 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
- |
if [[ "$BUILD_PY_FROM_SOURCE" != 1 ]]; then
$PYTHON_EXE -m flake8 $(pwd) --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
fi
- $PYTHON_EXE -m flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- $PYTHON_EXE ci/install_coverage_subprocess_pth.py
script:
- COVERAGE_PROCESS_START="$TRAVIS_BUILD_DIR/.coveragerc" PYTHONPATH='.:tests' $PYTHON_EXE -m pytest -r s
Expand Down

0 comments on commit bd513a6

Please sign in to comment.