Skip to content
Snippets Groups Projects
Commit aab4f01a authored by murych's avatar murych
Browse files

CI configuration updated

parent 3c2f0266
No related branches found
No related tags found
No related merge requests found
Pipeline #
image: continuumio/miniconda3:latest
stages:
- auth
- test
before_script:
- conda create --name slackvk python=3 flask
- source activate slackvk
- pip install -r requirements.txt
image: python:alpine
 
test:
stage: auth
stage: test
script:
- pip install flake8
- flake8 --config=tox.ini .
production:
type: deploy
environment: production
script:
- python config.py
- python auth.py
- apk add --no-cache ruby ruby-rdoc ruby-irb curl ca-certificates git
- gem install dpl --no-doc
- dpl --provider=heroku --api-key=$HEROKU_PRODUCTION_API_KEY --app=$HEROKU_APP_NAME
only:
- tags
\ No newline at end of file
tox.ini 0 → 100644
[flake8]
# it's not a bug that we aren't using all of hacking
ignore =
# E501: migraion lines are often too long
E501
exclude =
.git,
__pycache__,
templates,
static,
venv
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment