Commit 20146ff7 authored by Jay's avatar Jay
Browse files

db

parent 62f3cc82
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
language: generic
sudo: true

branches:
@@ -51,6 +52,11 @@ before_install:
  - conda env update -n test -f environment.yml
  - export PROJ_LIB=$CONDA_PREFIX/share/proj  
  
  # Stop/Start postgresql
  - sudo /etc/init.d/postgresql stop
  - sleep 3
  - sudo /ect/init.d/postgresql start
  
  # Setup the database user
  - sudo -u postgres psql -c "CREATE USER testuser WITH PASSWORD 'password'"
  - sudo -u postgres psql -c "ALTER ROLE testuser SUPERUSER"