Fixing travis build. 4.

pull/722/head
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: before_install:
- cd server - cd server
script: script:
- diesel migration run
- cargo build - cargo build
- cargo install diesel_cli --no-default-features --features postgres
- diesel migration run
- cargo test - cargo test
env: env:
- LEMMY_DATABASE_URL=postgres://lemmy:password@localhost:5432/lemmy - LEMMY_DATABASE_URL=postgres://lemmy:password@localhost:5432/lemmy