ci: add allauth to CI

This commit is contained in:
Jens Langhammer 2018-12-09 22:37:17 +01:00
parent 08c907e89b
commit a97fc67bff
No known key found for this signature in database
GPG key ID: BEBC05297D92821B
2 changed files with 30 additions and 0 deletions

View file

@ -10,6 +10,9 @@ stages:
- docs
image: python:3.5
include:
- /allauth/.gitlab-ci.yml
isort:
script:
- isort -c -sg env

27
allauth/.gitlab-ci.yml Normal file
View file

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