From 35e7279c971af5e634731fa0740d02f06ab7db15 Mon Sep 17 00:00:00 2001 From: "Phyks (Lucas Verney)" Date: Sun, 29 Oct 2017 21:06:25 +0100 Subject: [PATCH] Add a Gitlab-CI file --- .gitlab-ci.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..72a7f91 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,18 @@ +before_script: + - "pip install -r requirements.txt" + - "pip install pylint" + - "curl -sL https://deb.nodesource.com/setup_6.x | bash -" + - "apt-get install -y nodejs" + - "npm install" + +lint:2.7: + image: "python:2.7" + stage: "test" + script: + - "hooks/pre-commit" + +lint:3: + image: "python:3" + stage: "test" + script: + - "hooks/pre-commit"