8000 Added global requirements.txt and fixed travis file for tests. · tecladocode/testing-python-apps@578ac5e · GitHub
[go: up one dir, main page]

Skip to content

Commit 578ac5e

Browse files
committed
Added global requirements.txt and fixed travis file for tests.
1 parent 6af4485 commit 578ac5e

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
language: python
22
env:
3-
- PYTHONPATH=`pwd`/section2/video_code/
3+
- PYTHONPATH=`pwd`/section3/video_code/
44
python:
55
- "2.7"
66
- "3.5"
@@ -11,6 +11,6 @@ python:
1111
# command to install dependencies
1212
install:
1313
- "pip install pytest"
14-
- "pip install -r section2/video_code/requirements.txt"
14+
- "pip install -r requirements.txt"
1515
# command to run tests
16-
script: python -m pytest section2/video_code/
16+
script: python -m pytest section3/video_code/

requirements.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Flask
2+
Flask-RESTful
3+
Flask-JWT
4+
Flask-SQLAlchemy
5+
uwsgi
6+
psycopg2
7+
behave==1.2.5
8+
beautifulsoup4==4.5.3
9+
selenium==3.4.1

0 commit comments

Comments
 (0)
0