From 509b9546e06b18efb11c62eae27700036e4bade2 Mon Sep 17 00:00:00 2001
From: florimondmanca <florimond.manca@gmail.com>
Date: Sat, 12 May 2018 14:16:11 +0100
Subject: [PATCH] update .travis.yml

---
 .travis.yml | 27 +++++----------------------
 1 file changed, 5 insertions(+), 22 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 5348759..fa635e9 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -12,45 +12,28 @@ services:
 
 install:
   - pip install -r requirements.txt
-  # Supervisor < 4 does not support python 3 but Supervisor 4 is not
-  # released to PyPI yet. => Install from Github
   - pip install git+https://github.com/Supervisor/supervisor.git
 
 before_script:
-  # Start Celery using the supervisor config
   - supervisord
-
-  # Create local PostgreSQL database
-  # NOTE: the database name (here 'oser_backend_db') must match the name
-  # in one of these DATABASE_URL setting:
-  # - the one set up in TravisCI environment variables
-  # - the one set up in settings/default.py
-  - psql -c 'create database oser_backend_db;' -U postgres
-
-  # Go to the project root directory
-  - cd oser_backend
-  # Apply database migrations
+  - psql -c 'create database oser_showcase_backend_db;' -U postgres
+  - cd project
   - python manage.py migrate
 
 script:
-  # Run tests
   - python manage.py test
 
 before_deploy:
-  # Return the repository root
   - cd .. && ls
 
 deploy:
-  # Deploy to Heroku once the tests have passed
-  # See TravisCI docs: https://docs.travis-ci.com/user/deployment/heroku/
   provider: heroku
   app:
     # direct each branch to the corresponding app
-    master: oser-backend
-    staging: oser-backend-staging
+    master: oser-showcase-backend
+    staging: oser-showcase-backend-staging
   run:
-    # automatically run new migrations
-    - 'python oser_backend/manage.py migrate'
+    - 'python project/manage.py migrate'
   api_key:
     # Encrypted API key obtained from the following command
     # (requires TravisCI and Heroku CLI installed)
-- 
GitLab