From: Dessalines Date: Sat, 28 Dec 2019 21:24:57 +0000 (-0500) Subject: Fixing travis build. X-Git-Url: http://these/git/%7B%60%24%7BrepoUrl%7D/blob/master/docs/api.md%60%7D?a=commitdiff_plain;h=3d9704f93bcd34078737d58a4b237fead1a668f6;p=lemmy.git Fixing travis build. --- diff --git a/.travis.yml b/.travis.yml index 5fc26cde..100ff7a6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,15 +11,13 @@ cache: before_cache: - rm -rf /home/travis/.cargo/registry before_script: - - psql -c "create user rrr with password 'rrr' superuser;" -U postgres - - psql -c 'create database rrr with owner rrr;' -U postgres + - psql -c "create user lemmy with password 'password' superuser;" -U postgres + - psql -c 'create database lemmy with owner lemmy;' -U postgres before_install: - cd server script: - diesel migration run - cargo build - cargo test -env: - - DATABASE_URL=postgres://rrr:rrr@localhost/rrr addons: postgresql: "9.4"