2015-11-26 19:30:19 +03:00
|
|
|
language: rust
|
2016-06-04 22:08:14 +03:00
|
|
|
services:
|
|
|
|
- postgresql
|
|
|
|
before_script:
|
2016-06-05 00:20:45 +03:00
|
|
|
- echo "DATABASE_URL='postgres://localhost/rphotos'" > .env
|
|
|
|
- cargo install -v diesel_cli --no-default-features --features postgres
|
|
|
|
- diesel setuup
|
2016-06-04 22:08:14 +03:00
|
|
|
- diesel migration run
|