From c35eb73f6ea83da613d6444716f1e781d86c5bf8 Mon Sep 17 00:00:00 2001 From: Mark Piper Date: Sun, 16 Aug 2020 20:56:03 -0600 Subject: [PATCH] Add Travis CI config file --- .travis.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..62ee16e --- /dev/null +++ b/.travis.yml @@ -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