Skip to content
Snippets Groups Projects
Commit 139b15b5 authored by florimondmanca's avatar florimondmanca
Browse files

remove docker from TravisCI build

parent 38f85685
No related branches found
No related tags found
1 merge request!1Dockerize app and update TravisCI file
sudo: required
language: python
python:
- "3.6"
services:
- docker
before_install:
# run Docker image in detached mode to be able to issue further commands
- docker-compose up -d
- docker exec -it oserbackend_app_1 bash
before_script:
- cd oser_backend
- python manage.py makemigrations
- python manage.py migrate
......
......@@ -3,5 +3,4 @@ EXPOSE 8000
ADD . /oser-backend
RUN pip3 install -r oser-backend/requirements.txt
WORKDIR /oser-backend/oser_backend
RUN python3 manage.py test
CMD python3 manage.py runserver 0.0.0.0:8000
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment