Commit 68c67af6 by Chif Gergő

Try docker in CI

parent 47ebb10c
Pipeline #1165 failed with stage
in 7 seconds
image: python:3.6
before_script:
- docker info
- git submodule sync --recursive
- git submodule update --init --recursive
......@@ -9,11 +10,11 @@ flake8:
- pip install flake8
- flake8
build-local:
script:
- docker build --tag recircle-backend:1.0 .
test:
script:
- pip install pipenv
- pipenv install -d
- mv environment.sh.example environment.sh
- pipenv run source environment.sh
- cd recircle
- pipenv run python manage.py test
- mv .env.example .env
- docker run recircle-backend pipenv run python manage.py test
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment