Commit 8e905401 authored by Paquette, Adam Chance's avatar Paquette, Adam Chance
Browse files

More edits to .gitlab-ci.yml file

parent 785bfe27
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -22,7 +22,10 @@ unit-test-job:
    - apt-get -y upgrade
    - apt-get install -y libgomp1
    - apt-get install -y libgl1-mesa-glx
    - mamba env create -f environment.yml --prefix /autocnet
    - mamba env create -f environment.yml --prefix /autocnet -n autocnet_env
    - conda init
    - source /root/.bashrc
    - conda activate autocnet_env
    - psql -h $POSTGRES_HOST -c 'create database template_postgis;' -U postgres -p 35432;
    - psql template_postgis -h $POSTGRES_HOST -U postgres -p 35432 -c 'create extension postgis';
    - psql template_postgis -U $POSTGRES_USER -h $POSTGRES_HOST -p 35432 -c 'create extension postgis_topology';