Skip to content

Commit

Permalink
Adding automated testing with travis CI
Browse files Browse the repository at this point in the history
Answers UCL Issue UCL-RITS#90
  • Loading branch information
rmapjs1 committed Dec 20, 2020
1 parent 9248123 commit d140e77
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions week05-testing/.travis.yml
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

0 comments on commit d140e77

Please sign in to comment.