]> Untitled Git - lemmy.git/commitdiff
Fixing travis build. 4.
authorDessalines <tyhou13@gmx.com>
Sat, 28 Dec 2019 21:49:38 +0000 (16:49 -0500)
committerDessalines <tyhou13@gmx.com>
Sat, 28 Dec 2019 21:49:38 +0000 (16:49 -0500)
.travis.yml

index 8555d92de8149bd260c11bdab020098092edb661..4465afd580c705a89b75151cb003bae5e6552aa1 100644 (file)
@@ -16,8 +16,9 @@ before_script:
 before_install:
   - cd server
 script:
-  - diesel migration run
   - cargo build
+  - cargo install diesel_cli --no-default-features --features postgres
+  - diesel migration run
   - cargo test
 env:
   - LEMMY_DATABASE_URL=postgres://lemmy:password@localhost:5432/lemmy