ci: add allauth to CI
This commit is contained in:
parent
08c907e89b
commit
a97fc67bff
|
@ -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
27
allauth/.gitlab-ci.yml
Normal 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
|
Reference in a new issue