Commit 68c67af6 by Chif Gergő

Try docker in CI

parent 47ebb10c
Pipeline #1165 failed with stage
in 7 seconds
image: python:3.6 image: python:3.6
before_script: before_script:
- docker info
- git submodule sync --recursive - git submodule sync --recursive
- git submodule update --init --recursive - git submodule update --init --recursive
...@@ -9,11 +10,11 @@ flake8: ...@@ -9,11 +10,11 @@ flake8:
- pip install flake8 - pip install flake8
- flake8 - flake8
build-local:
script:
- docker build --tag recircle-backend:1.0 .
test: test:
script: script:
- pip install pipenv - mv .env.example .env
- pipenv install -d - docker run recircle-backend pipenv run python manage.py test
- mv environment.sh.example environment.sh
- pipenv run source environment.sh
- cd recircle
- 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