Windshaft-cartodb-5.4.0/docker-test.sh

11 lines
278 B
Bash
Raw Normal View History

2023-05-07 23:19:14 +08:00
export NPROCS=1 && export JOBS=1 && export CXX=g++-4.9 && export PGUSER=postgres
npm install -g yarn@0.27.5
yarn
/etc/init.d/postgresql start
createdb template_postgis && createuser publicuser
psql -c "CREATE EXTENSION postgis" template_postgis
POSTGIS_VERSION=2.4 npm test