Fixing travis build. 4.

This commit is contained in:
Dessalines 2019-12-28 16:49:38 -05:00
parent 331aecbba6
commit 92825f4c98
1 changed files with 2 additions and 1 deletions

3
.travis.yml vendored
View 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