2019-04-06 10:54:45 -04:00
|
|
|
language: rust
|
|
|
|
rust:
|
|
|
|
- stable
|
|
|
|
- beta
|
|
|
|
- nightly
|
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- rust: nightly
|
|
|
|
fast_finish: true
|
|
|
|
cache: cargo
|
2019-04-06 11:27:35 -04:00
|
|
|
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
|
2019-04-06 10:54:45 -04:00
|
|
|
script:
|
2019-04-06 10:57:24 -04:00
|
|
|
- cd server
|
2019-04-06 11:27:35 -04:00
|
|
|
- cargo install diesel_cli --no-default-features --features postgres
|
|
|
|
- cargo install
|
2019-04-06 10:54:45 -04:00
|
|
|
- cargo build --verbose --all
|
|
|
|
- cargo test --verbose --all
|