From 6b14c9bb17d22147d14989b95495c225ff12d128 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Thu, 4 Jul 2019 17:24:42 +0100 Subject: [PATCH] Add travis CI file --- .travis.yml | 14 ++++++++++++++ dev-requirements.txt | 3 +++ 2 files changed, 17 insertions(+) create mode 100644 .travis.yml create mode 100644 dev-requirements.txt diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..6c8ef77 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,14 @@ +language: python +dist: xenial + +python: 3.7.3 + +cache: + directories: + - $HOME/.cache/pip + +install: + - pip install -r dev-requirements.txt + +script: + - black --check crab.py router.py diff --git a/dev-requirements.txt b/dev-requirements.txt new file mode 100644 index 0000000..539c25c --- /dev/null +++ b/dev-requirements.txt @@ -0,0 +1,3 @@ +black==19.3b0 + +-r requirements.txt