Skip to content

Commit

Permalink
Merge a6491ed into e9def41
Browse files Browse the repository at this point in the history
  • Loading branch information
antonag32 committed Apr 13, 2022
2 parents e9def41 + a6491ed commit ec3aae4
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@ matrix:
- python: 3.7
env:
TOXENV=pylint
DEPLOY="1"
- python: 3.8
env:
TOXENV=pylint
LINT="1"
DEPLOY="1"
- python: 3.9-dev
env:
TOXENV=pylint
Expand All @@ -36,11 +37,12 @@ install:
- ${TRAVIS_BUILD_DIR}/install.sh

# Install testing dependencies
- pip install coveralls flake8==3.8.3 tox restructuredtext_lint pygments
- pip freeze
- pip install coveralls tox
- if [[ "${LINT}" == "1" ]]; then pip install flake8==3.8.3 restructuredtext_lint==1.2.0 pygments; fi

script:
- flake8 --ignore=E722,F601,F841,W503,W504,W605 --max-line-length=88 --exclude=__init__.py .
- restructuredtext-lint ${TRAVIS_BUILD_DIR}/README.rst
- if [[ "${LINT}" == "1" ]]; then flake8 --ignore=E722,F601,F841,W503,W504,W605 --max-line-length=88 --exclude=__init__.py . && restructuredtext-lint ${TRAVIS_BUILD_DIR}/README.rst; fi
- tox -e $TOXENV,profile-stats

after_success:
Expand Down

0 comments on commit ec3aae4

Please sign in to comment.