forked from jazkarta/obsolete-ccx-keys
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from edx/clintonb/updates
Multiple infrastructure updates
- Loading branch information
Showing
15 changed files
with
223 additions
and
388 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,12 +1,11 @@ | ||
language: python | ||
python: | ||
- "2.7" | ||
before_install: | ||
- git fetch origin master:refs/remotes/origin/master | ||
install: | ||
- pip install -r test-requirements.txt | ||
- make requirements | ||
- pip install coveralls | ||
script: | ||
- scripts/coverage | ||
- make test | ||
- make quality | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
.DEFAULT_GOAL := test | ||
|
||
.PHONY: html_coverage, quality, requirements | ||
|
||
html_coverage: | ||
coverage html && open htmlcov/index.html | ||
|
||
quality: | ||
pep8 --config=.pep8 ccx_keys | ||
pylint --rcfile=pylintrc ccx_keys | ||
|
||
requirements: | ||
pip install -r requirements.txt | ||
|
||
test: | ||
coverage run -m nose |
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
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
Oops, something went wrong.