Skip to content

Commit

Permalink
new test depends: pytest-cov
Browse files Browse the repository at this point in the history
make test works on travis, but not if I forget to install the right
deps...
  • Loading branch information
Sean Myers committed Mar 13, 2016
1 parent c10ca10 commit 1e4be8a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
language: python
python:
- "2.7"
install: python setup.py install
install:
- python setup.py install
- make test-requirements
script: make test
sudo: false
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,8 @@ upload:
clean:
rm -rf AUTHORS build ChangeLog dist *.egg-info __pycache__ *.egg .coverage

test-requirements:
pip install -Ur test-requirements.txt

test:
py.test --cov cfn_pyplates --cov-report term-missing tests
1 change: 1 addition & 0 deletions test-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
coverage
mock
pytest
pytest-cov

0 comments on commit 1e4be8a

Please sign in to comment.