Skip to content

Commit

Permalink
Merge pull request #79 from waleko/master
Browse files Browse the repository at this point in the history
[qa] Replace with openwisp-utils-qa-checks
  • Loading branch information
nemesifier authored Jan 3, 2020
2 parents 5efc790 + c7bc927 commit dbbbce6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
14 changes: 2 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,12 @@ install:
- python setup.py -q develop
- pip install -r requirements-test.txt

# command to run flake8
# command to run qa-checks
before_script:
- flake8
- ./runisort

- openwisp-utils-qa-checks --skip-migrations
# command to run tests, e.g. python setup.py test
script:
- nosetests --with-coverage --cover-package=netdiff
- |
if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
# gets commit message of last commit before pull request merge
COMMIT_MESSAGE=$(git log $TRAVIS_PULL_REQUEST_SHA --format=%B -n 1)
printf "Checking commit message:\n\n"
printf "$COMMIT_MESSAGE\n\n"
checkcommit --message "$COMMIT_MESSAGE"
fi

after_success:
coveralls
2 changes: 1 addition & 1 deletion requirements-test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ nose
coveralls
responses>0.5.0,<0.11.0
mock
openwisp-utils[qa]>=0.2.1
openwisp-utils[qa]>=0.3.0

0 comments on commit dbbbce6

Please sign in to comment.