2017-10-16 18:53:23 +08:00
|
|
|
export NPROCS=1 && export JOBS=1 && export CXX=g++-4.9 && export PGUSER=postgres
|
2017-10-07 00:24:11 +08:00
|
|
|
|
2017-10-09 20:54:03 +08:00
|
|
|
npm install -g yarn@0.27.5
|
|
|
|
yarn
|
2017-10-07 00:24:11 +08:00
|
|
|
|
|
|
|
/etc/init.d/postgresql start
|
|
|
|
|
|
|
|
createdb template_postgis && createuser publicuser
|
|
|
|
psql -c "CREATE EXTENSION postgis" template_postgis
|
|
|
|
|
2017-10-16 19:12:06 +08:00
|
|
|
POSTGIS_VERSION=2.4 npm test
|