CartoDB-SQL-API/test/run_tests_docker.sh

25 lines
363 B
Bash
Raw Normal View History

#!/bin/bash
/etc/init.d/postgresql start
2019-02-13 01:52:57 +08:00
source /src/nodejs-install.sh
2018-11-08 02:21:46 +08:00
# Configure
./configure
2019-06-03 23:45:04 +08:00
# Install cartodb-postgresql extension
git clone https://github.com/CartoDB/cartodb-postgresql.git
cd cartodb-postgresql && make && make install && cd ..
2019-02-13 01:52:57 +08:00
echo "Node.js version: "
node -v
2018-04-27 22:38:36 +08:00
2019-02-13 01:52:57 +08:00
echo "npm version:"
npm -v
2019-02-13 01:52:57 +08:00
# install dependencies
npm ci
npm ls
2018-04-27 23:40:13 +08:00
npm test