mirror of
https://github.com/penpot/penpot.git
synced 2025-12-12 06:24:17 +01:00
feat: enable runnint test on travis
This commit is contained in:
@@ -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
16
backend/scripts/prepare-release.sh
Executable file → Normal 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;
|
||||
|
||||
6
backend/scripts/run-tests-in-docker.sh
Executable file
6
backend/scripts/run-tests-in-docker.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -x
|
||||
|
||||
sudo pg_ctlcluster 9.6 main start
|
||||
clj -Adev -m uxbox.tests.main
|
||||
Reference in New Issue
Block a user