mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-21 22:27:08 +00:00
Travis
This commit is contained in:
parent
a246d5ee58
commit
15b6e23364
|
@ -8,8 +8,6 @@ matrix:
|
|||
before_cache:
|
||||
- cd server
|
||||
cache: cargo
|
||||
services:
|
||||
- postgresql
|
||||
before_script:
|
||||
- psql -c "create user rrr with password 'rrr' superuser;" -U postgres
|
||||
- psql -c 'create database rrr with owner rrr;' -U postgres
|
||||
|
@ -23,3 +21,5 @@ script:
|
|||
- cargo test --all
|
||||
env:
|
||||
- DATABASE_URL=postgres://rrr:rrr@localhost/rrr
|
||||
addons:
|
||||
postgresql: "9.4"
|
||||
|
|
Loading…
Reference in a new issue