This repository has been archived by the owner on May 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c4e7ba1
commit d8dc2e0
Showing
9 changed files
with
19 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,18 @@ | ||
language: python | ||
|
||
|
||
python: | ||
- "2.7" | ||
|
||
env: | ||
- TRAVIS_MODE=1 | ||
|
||
|
||
before_install: | ||
- export DJANGO_SETTINGS_MODULE=settings | ||
- DJANGO_SETTINGS_MODULE=settings | ||
|
||
|
||
# command to install dependencies | ||
install: | ||
- "pip install coveralls" | ||
- "pip install pep8" | ||
- "pip install pylint==1.2.1" | ||
- "pip install -r requirements.txt" | ||
- "pip install -r test_requirements.txt" | ||
- "pip install coveralls" | ||
|
||
|
||
# command to run tests and quality checks | ||
script: | ||
- coverage run ./manage.py test | ||
- coverage report -m | ||
- pep8 --config=.pep8 notifications | ||
- pylint --rcfile=.pylintrc notifications --report=no | ||
|
||
- pep8 notifications | ||
- pylint notifications --report=no | ||
|
||
after_success: coveralls |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Testing Packages | ||
coverage==3.7.1 | ||
django_nose | ||
nose==1.3.3 | ||
httpretty==0.8.0 | ||
pep8==1.5.7 | ||
pylint==1.2.1 | ||
pep257==0.3.2 | ||
mock==1.0.1 | ||
testfixtures==4.0.0 |