Windshaft-cartodb/run_tests_docker.sh
Daniel G. Aubert 77cbe2b545
version 6 to 6.9.2 in travis
Co-Authored-By: oleurud <oleurud@pm.me>
2019-02-13 09:27:16 +01:00

26 lines
354 B
Bash

#!/bin/bash
/etc/init.d/postgresql start
source /src/nodejs-install.sh
echo "Node.js version: "
node -v
# install dependencies
if [ "$NODEJS_VERSION" = "6.9.2" ];
then
npm install -g yarn@0.27.5
echo "yarn version on install:"
yarn --version
yarn
else
echo "npm version:"
npm -v
npm ci
npm ls
fi
# run tests
npm test