Update travis to use the manager's init
language: python
python:
-- '3.5'
+- '3.4'
addons:
postgresql: '9.4'
apt:
@@ -16,20 +16,13 @@ dist: trusty
cache: pip
env:
global:
- - JOBS_QUEUE=plenario-queue-test
- secure: G1RWlnwPIPSW2XRD7IItotgzTw41IAktyt2VurJwOp3xCIrmeHOtby6ox1x3Ph80Tzp3m3zLENof/sPsgOwRQgUOQ0nScpVGBGsUTAc26LL4SSs+7LGUAohm3EFTHPWU+78ZZMe3njK2fT86XP19FH1CupxgQ1vTpQI1iFChDD0=
- secure: bnBfgN5eIAsCVdo+tMhjO88GRfUAEIkD0HFcOMEezP1YQv1bIFU71l5v4aT348RD2kuu6kihWApIqsEe0HjW8u0umPV6aLHuEuUrKGyxwk1x81bhP0KpgQgx+/Qbai4Q6gk+U4TWk713Ezu0j0GJH8jxixvyXgrJjfA/1yvHCdg=
before_install:
- pip install -r requirements.txt
-- sudo mkdir -p /opt/python/log/
-- sudo chmod 777 /opt/python/log/
-- touch /opt/python/log/worker.log
-- touch /opt/python/log/sender.log
install:
- sudo -u postgres psql -c "ALTER USER postgres WITH PASSWORD 'password';"
-- sudo -u postgres psql -c "CREATE DATABASE plenario_test;"
-- sudo -u postgres psql -c "CREATE EXTENSION postgis;" plenario_test
-- python init_db.py -m -u -f -k
+- python manage.py init
script:
###
# Something strange is up with our tests
