forked from UCL-RITS/rse-classwork-2020
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding automated testing with travis CI
Answers UCL Issue UCL-RITS#90
- Loading branch information
Showing
1 changed file
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# this is a Travis CI file to perform automated testing (Continuous Integration) | ||
|
||
# Defining the language to be used | ||
language: python | ||
|
||
# Version of Python to read file in | ||
python: | ||
- "3.7" | ||
- "3.8" | ||
|
||
# command to install dependecies | ||
install: | ||
- pip install requests pyyaml pytest pytest-cov | ||
|
||
# command to run tests | ||
script: | ||
- pytest --cov-report html |