Add a Gitlab-CI file

This commit is contained in:
Lucas Verney 2017-10-29 21:06:25 +01:00
parent 1baebffb87
commit 35e7279c97
1 changed files with 18 additions and 0 deletions

18
.gitlab-ci.yml Normal file
View File

@ -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"