forked from sharmeelee/MovieRecommender
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.travis.yml
More file actions
32 lines (26 loc) · 750 Bytes
/
Copy path.travis.yml
File metadata and controls
32 lines (26 loc) · 750 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# what language the build will be configured for
language: python
# specify what versions of python will be used
# note that all of the versions listed will be tried
python:
- 3.8
# what branches should be evaluated
branches:
only:
- main
# list of commands to run to setup the environment
install:
- pip install coverage
- pip install coveralls
- pip install flake8
# a list of commands to run before the main script
before_script:
- python setup.py install
# the actual commands to run
script:
- coverage run -m unittest discover -s tests -p "test_*.py"
- flake8 MovieRecommender --exit-zero
# generate a coverage report to send to back to user
after_success:
- coverage report
- coveralls