language: rust services: - postgresql before_script: - echo "DATABASE_URL=postgres://localhost/rphotos" > .env - cargo install -v diesel_cli --no-default-features --features postgres - $HOME/.cargo/bin/diesel setup