Windshaft-cartodb/run_tests_docker.sh

23 lines
351 B
Bash
Raw Normal View History

#!/bin/bash
/etc/init.d/postgresql start
2019-02-13 01:20:32 +08:00
source /src/nodejs-install.sh
# Install cartodb-postgresql extension
git clone https://github.com/CartoDB/cartodb-postgresql.git
cd cartodb-postgresql && make && make install && cd ..
2019-02-13 01:20:32 +08:00
echo "Node.js version: "
node -v
echo "npm version: "
npm -v
echo "Clean install: "
npm ci
npm ls
2017-10-07 00:24:11 +08:00
2018-04-27 21:46:57 +08:00
# run tests
npm test