From 181374d2cc5f751f0e41a8c4cb938cad118a5a4d Mon Sep 17 00:00:00 2001 From: Dessalines Date: Fri, 10 Jul 2020 14:16:42 -0400 Subject: Fixing travis, adding a test.sh script. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 602a8613..71fbac3f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,7 +24,7 @@ script: - cargo clippy -- -D clippy::style -D clippy::correctness -D clippy::complexity -D clippy::perf - cargo install diesel_cli --no-default-features --features postgres --force - diesel migration run - - cargo test + - cargo test --workspace env: global: - DATABASE_URL=postgres://lemmy:password@localhost:5432/lemmy -- cgit v1.2.3 From 7a9a973c897ee9ebd68c071e2e17e561567004b6 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Fri, 10 Jul 2020 14:45:34 -0400 Subject: Fix .travis.yml --- .travis.yml | 1 + 1 file changed, 1 insertion(+) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 71fbac3f..9541afaa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,6 +28,7 @@ script: env: global: - DATABASE_URL=postgres://lemmy:password@localhost:5432/lemmy + - LEMMY_DATABASE_URL=postgres://lemmy:password@localhost:5432/lemmy - RUST_TEST_THREADS=1 addons: -- cgit v1.2.3