Travis
This commit is contained in:
parent
35b3fa95a9
commit
b22d500e25
1 changed files with 2 additions and 2 deletions
|
@ -8,8 +8,6 @@ matrix:
|
||||||
before_cache:
|
before_cache:
|
||||||
- cd server
|
- cd server
|
||||||
cache: cargo
|
cache: cargo
|
||||||
services:
|
|
||||||
- postgresql
|
|
||||||
before_script:
|
before_script:
|
||||||
- psql -c "create user rrr with password 'rrr' superuser;" -U postgres
|
- psql -c "create user rrr with password 'rrr' superuser;" -U postgres
|
||||||
- psql -c 'create database rrr with owner rrr;' -U postgres
|
- psql -c 'create database rrr with owner rrr;' -U postgres
|
||||||
|
@ -23,3 +21,5 @@ script:
|
||||||
- cargo test --all
|
- cargo test --all
|
||||||
env:
|
env:
|
||||||
- DATABASE_URL=postgres://rrr:rrr@localhost/rrr
|
- DATABASE_URL=postgres://rrr:rrr@localhost/rrr
|
||||||
|
addons:
|
||||||
|
postgresql: "9.4"
|
||||||
|
|
Reference in a new issue