diff options
Diffstat (limited to '.gitlab-ci.yml')
| -rw-r--r-- | .gitlab-ci.yml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 00000000..ace10a04 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,23 @@ +stages: + - build + - static-analysis + - test + +build: + stage: build + script: + - apt-get update -qy + - apt-get install -y python-dev python-pip + - python --version + - python setup.py install + +static-analysis: + stage: static-analysis + allow_failure: true + script: + - pylint opendc + +test: + stage: test + script: + - pytest |
