From 3160f628821fd23dd7837208572e66d3e7296198 Mon Sep 17 00:00:00 2001 From: Henning Jacobs Date: Wed, 24 Jun 2015 09:44:18 +0200 Subject: [PATCH] #18 add Travis CI config --- .gitignore | 2 ++ .travis.yml | 7 +++++++ tox.ini | 2 ++ 3 files changed, 11 insertions(+) create mode 100644 .travis.yml create mode 100644 tox.ini diff --git a/.gitignore b/.gitignore index d2d6f36..38c6a6d 100644 --- a/.gitignore +++ b/.gitignore @@ -33,3 +33,5 @@ nosetests.xml .mr.developer.cfg .project .pydevproject + +pg_view.log diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..a982aa6 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,7 @@ +language: python +python: + - "3.4" + - "2.7" +script: + - python -m doctest -v pg_view.py + - flake8 pg_view.py diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000..aa079ec --- /dev/null +++ b/tox.ini @@ -0,0 +1,2 @@ +[flake8] +max-line-length=120