From 6e33e8bdf2926ee23f7d7def75286860aaa4d997 Mon Sep 17 00:00:00 2001 From: Amador Pahim Date: Mon, 25 Apr 2016 14:58:06 -0300 Subject: [PATCH] Enable travis check for every push/pull request. Signed-off-by: Amador Pahim --- .travis.yml | 22 ++++++++++++++++++++++ requirements-travis.txt | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 .travis.yml create mode 100644 requirements-travis.txt diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..cd8422d0 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,22 @@ +language: python + +python: + - "2.7" + +branches: + only: + - master + +cache: + directories: + - $HOME/.cache/pip + +sudo: false + +install: + - pip install -r requirements-travis.txt + +script: + - inspekt lint + - inspekt indent + - inspekt style diff --git a/requirements-travis.txt b/requirements-travis.txt new file mode 100644 index 00000000..350243e5 --- /dev/null +++ b/requirements-travis.txt @@ -0,0 +1,2 @@ +inspektor==0.2.0 +pep8==1.6.2