diff options
author | Dessalines <tyhou13@gmx.com> | 2020-07-10 14:16:42 -0400 |
---|---|---|
committer | Dessalines <tyhou13@gmx.com> | 2020-07-10 14:16:42 -0400 |
commit | 181374d2cc5f751f0e41a8c4cb938cad118a5a4d (patch) | |
tree | 5bca278d424dec3610b6e146762f16ff80391a52 /server | |
parent | 80aef61aed29d25099835ee4769bb8e1e363eb47 (diff) |
Fixing travis, adding a test.sh script.
Diffstat (limited to 'server')
-rwxr-xr-x | server/test.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/server/test.sh b/server/test.sh new file mode 100755 index 00000000..9a8e445b --- /dev/null +++ b/server/test.sh @@ -0,0 +1,5 @@ +#!/bin/sh +export DATABASE_URL=postgres://lemmy:password@localhost:5432/lemmy +diesel migration run +export LEMMY_DATABASE_URL=postgres://lemmy:password@localhost:5432/lemmy +RUST_TEST_THREADS=1 cargo test --workspace |