summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2019-04-06 08:27:35 -0700
committerDessalines <tyhou13@gmx.com>2019-04-06 08:27:35 -0700
commit00d9a88dbd4d139370abc5057d03dcdcf3210b3f (patch)
tree54491e9581ad6ca51b100c9851801db02320e866 /.travis.yml
parent54e0a33dc22c92604942e632f3ab95ff108e341d (diff)
Travis
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 8f59ccd2..4a30e576 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -8,7 +8,14 @@ matrix:
- rust: nightly
fast_finish: true
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
script:
- cd server
+ - cargo install diesel_cli --no-default-features --features postgres
+ - cargo install
- cargo build --verbose --all
- cargo test --verbose --all