From 8b4a4f83cdd20f20c5c576114edd35a35f4ef9db Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Wed, 23 Nov 2016 10:37:39 +0200 Subject: [PATCH] - Added Travis CI. --- .pre-commit-config.yaml | 2 +- .travis.yml | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 .travis.yml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5c39617..e91a45c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,7 +7,7 @@ - id: check-yaml - id: check-merge-conflict - id: flake8 -- repo: https://www.shore.co.il/git/shell-pre-commit +- repo: https://github.com/adarnimrod/shell-pre-commit sha: e48c7fbdadf14a548dcbda32895b67f90fa0f12b hooks: - id: shell-lint diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..a304f5e --- /dev/null +++ b/.travis.yml @@ -0,0 +1,11 @@ +--- +language: python +python: "2.7" +dist: trusty +sudo: false + +install: + - pip install pre_commit + +script: + - pre-commit run --all-files -- GitLab