From 9d76ef8e18ae9f77338f5f5bba70ec06f25ca0f3 Mon Sep 17 00:00:00 2001 From: Martin Hjelmare Date: Sun, 8 Dec 2019 02:11:30 +0100 Subject: [PATCH] Add Travis CI --- .travis.yml | 10 ++++++++++ tox.ini | 4 ++++ 2 files changed, 14 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..ff970b4 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,10 @@ +dist: xenial +language: python +cache: pip +python: + - "3.6" + - "3.7" + - "3.8" +install: + - pip install -U tox-travis +script: tox diff --git a/tox.ini b/tox.ini index a731aa9..d97d1d9 100644 --- a/tox.ini +++ b/tox.ini @@ -2,6 +2,10 @@ envlist = py36, py37, py38, lint skip_missing_interpreters = True +[travis] +python = + 3.6: py36, lint + [testenv] commands = pytest --timeout=30 --cov=camacqplugins --cov-report= {posargs}