Add a Gitlab-CI file
This commit is contained in:
parent
1baebffb87
commit
35e7279c97
18
.gitlab-ci.yml
Normal file
18
.gitlab-ci.yml
Normal 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"
|
Loading…
Reference in New Issue
Block a user