From a97fc67bffeeb7859dfce5c299aad619a4a92c81 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 9 Dec 2018 22:37:17 +0100 Subject: [PATCH] ci: add allauth to CI --- .gitlab-ci.yml | 3 +++ allauth/.gitlab-ci.yml | 27 +++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 allauth/.gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 37ffdace5..6c33d4bc1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,6 +10,9 @@ stages: - docs image: python:3.5 +include: + - /allauth/.gitlab-ci.yml + isort: script: - isort -c -sg env diff --git a/allauth/.gitlab-ci.yml b/allauth/.gitlab-ci.yml new file mode 100644 index 000000000..56fb8aa47 --- /dev/null +++ b/allauth/.gitlab-ci.yml @@ -0,0 +1,27 @@ +# Global Variables +before_script: + - cd allauth/ + - "python3 -m pip install -U virtualenv" + - "virtualenv env" + - "source env/bin/activate" + - "pip3 install -U -r requirements-dev.txt" +stages: + - test-allauth +image: python:3.6 + +isort: + script: + - isort -c -sg env + stage: test-allauth +prospector: + script: + - prospector + stage: test-allauth +pylint: + script: + - pylint passbook + stage: test-allauth +bandit: + script: + - bandit -r allauth_passbook + stage: test-allauth