Fixing travis build. 4.

This commit is contained in:
Dessalines 2019-12-28 16:49:38 -05:00
parent 8bf5d0cca6
commit a42e2af203

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