summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2019-12-28 16:24:57 -0500
committerDessalines <tyhou13@gmx.com>2019-12-28 16:24:57 -0500
commit3d9704f93bcd34078737d58a4b237fead1a668f6 (patch)
tree032601abf18ec3617ba8ab1b3fcd959cbda072a0 /.travis.yml
parent786be3fa668903b92ac280691c4e4e50470ad74c (diff)
Fixing travis build.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml6
1 files changed, 2 insertions, 4 deletions
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"