Fixing travis build. 4.
This commit is contained in:
parent
331aecbba6
commit
92825f4c98
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
|
||||||
|
|
Reference in a new issue