Skip to content

Commit

Permalink
Add Travis CI config file
Browse files Browse the repository at this point in the history
  • Loading branch information
mdpiper committed Aug 17, 2020
1 parent 701a6e2 commit c35eb73
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
language: python

os:
- linux

install:
- pip install pytest coverage

before_script:
- test -d ./lessons/best-practices
- test -f ./lessons/best-practices/examples.py
- test -f ./lessons/best-practices/test_examples.py

script:
- coverage run -m pytest

after_success:
- coverage report

0 comments on commit c35eb73

Please sign in to comment.