Skip to content

Commit

Permalink
[ci] Added checkcommit to travis pull request builder #20
Browse files Browse the repository at this point in the history
Related to #20
Related to #23
  • Loading branch information
nemesifier committed Dec 1, 2018
1 parent bb70ccb commit 4a0a4bc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ before_install:
- pip install -U pip wheel setuptools
- pip install --no-cache-dir -U -r requirements-test.txt

# command to install requirements
install:
- pip install https://github.com/openwisp/openwisp-users/tarball/master
- pip install $DJANGO
Expand All @@ -36,9 +35,9 @@ before_script:
- ./runflake8
- ./runisort

# command to run tests, e.g. python setup.py test
script:
- coverage run --source=openwisp_utils runtests.py
- if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then checkcommit --message "$TRAVIS_COMMIT_MESSAGE"; fi

after_success:
coveralls

0 comments on commit 4a0a4bc

Please sign in to comment.