From 506d4a5879472631ca5574600561af4ed87a5632 Mon Sep 17 00:00:00 2001 From: Daniel van der Ende Date: Sun, 16 Dec 2018 13:34:28 +0100 Subject: [PATCH] Add CI --- .travis.yml | 15 +++++++++++++++ setup.py | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..e8edf67 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,15 @@ +language: python +python: + - "3.6" +jobs: + include: + - stage: linting + install: + - pip install -e .[lint] + script: + - flake8 + - stage: tests + install: + - pip install -e .[test] + script: + - pytest tests/ diff --git a/setup.py b/setup.py index 878ee41..3c746c6 100644 --- a/setup.py +++ b/setup.py @@ -21,4 +21,4 @@ "flake8==3.5.0" ], } -) \ No newline at end of file +)