From 0e7dd49b18657ac031f5ae2ac0f012a4e3ae4f39 Mon Sep 17 00:00:00 2001 From: Thomas Wemyss Date: Thu, 5 Nov 2020 11:37:39 +0000 Subject: [PATCH] Add travis config to main branch --- .travis.yml | 9 +++++++++ requirements.txt | 3 +++ 2 files changed, 12 insertions(+) create mode 100644 .travis.yml create mode 100644 requirements.txt diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..fdec687 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,9 @@ +language: python +python: + - "3.8" +# command to install dependencies +install: + - pip install -r requirements.txt +# command to run tests +script: + - pytest week05-testing/ \ No newline at end of file diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..e2ca078 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,3 @@ +pytest +pytest-cov +datetime \ No newline at end of file