Fixing travis build. 4.
This commit is contained in:
parent
8bf5d0cca6
commit
a42e2af203
1 changed files with 2 additions and 1 deletions
3
.travis.yml
vendored
3
.travis.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue