8000 Install pytest in Travis environment to run tests. · coduya/testing-python-apps@ac77623 · GitHub
[go: up one dir, main page]

Skip to content

Commit ac77623

Browse files
committed
Install pytest in Travis environment to run tests.
1 parent 080339b commit ac77623

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ python:
99
- "3.7-dev" # 3.7 development branch
1010
- "nightly" # currently points to 3.7-dev
1111
# command to install dependencies
12-
install: "pip install -r section2/video_code/requirements.txt"
12+
install:
13+
- "pip install pytest"
14+
- "pip install -r section2/video_code/requirements.txt"
1315
# command to run tests
14-
script: pytest section2/video_code/
16+
script: python -m pytest section2/video_code/

0 commit comments

Comments
 (0)
0