This repository has been archived by the owner on May 15, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Travis CI, coverage to tests and basic MakefileSigned-off-by: Owe…
…n McGill <mcgillowen@gmail.com>
- Loading branch information
1 parent
2192ff7
commit ac2a27e
Showing
6 changed files
with
51 additions
and
4 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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
language: python | ||
python: | ||
- 3.7 | ||
dist: xenial | ||
sudo: true | ||
before_install: | ||
- pip install poetry | ||
install: | ||
- poetry install | ||
script: | ||
- make test |
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,13 @@ | ||
.PHONY: test clean | ||
|
||
test: | ||
poetry run pytest --cov=devenv tests | ||
|
||
clean: | ||
find . -type f -name '*.py[co]' -delete -o -type d -name __pycache__ -delete | ||
|
||
install: | ||
poetry install | ||
|
||
install_poetry: install | ||
curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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