feat: enable runnint test on travis

This commit is contained in:
Andrey Antukh 2019-06-24 19:38:51 +02:00
parent 4da6ae0a74
commit 31766fde32
8 changed files with 79 additions and 105 deletions

View file

@ -1,6 +0,0 @@
#!/usr/bin/env bash
echo "Not yet implemented!"
# TODO
#lein test

16
backend/scripts/prepare-release.sh Executable file → Normal file
View file

@ -1,16 +1,16 @@
#!/usr/bin/env bash
if [ "$#" -e 0 ]; then
echo "Expecting parameters: 1=path to backend; 2=destination directory"
exit 1
echo "Expecting parameters: 1=path to backend; 2=destination directory"
exit 1
fi
rm -rf $2 || exit 1;
rsync -avr \
--exclude="/test" \
--exclude="/resources/public/media" \
--exclude="/target" \
--exclude="/scripts" \
--exclude="/.*" \
$1 $2;
--exclude="/test" \
--exclude="/resources/public/media" \
--exclude="/target" \
--exclude="/scripts" \
--exclude="/.*" \
$1 $2;

View file

@ -0,0 +1,6 @@
#!/usr/bin/env bash
set -x
sudo pg_ctlcluster 9.6 main start
clj -Adev -m uxbox.tests.main