Skip to content

Commit

Permalink
Using requirements-test.txt with Travis
Browse files Browse the repository at this point in the history
Trying a different scheme where test requirements are installed using pip.

Signed-off-by: Geoffrey Wiseman <geoffrey.wiseman@codiform.com>
  • Loading branch information
geoffreywiseman committed Oct 29, 2018
1 parent d631a33 commit 47a4e27
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@ Pipfile.lock
/build
/dist
*.egg-info
.eggs/

# IntelliJ
/.idea

# Direnv
/.env
/.envrc
/.direnv

Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ python:
- 3.6
install:
- pip install .
- pip install requirements-test.txt
script:
- python setup.py test
- pytest

matrix:
Expand Down
2 changes: 2 additions & 0 deletions requirements-test.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
moto
mock

0 comments on commit 47a4e27

Please sign in to comment.