summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.travis.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index e2237662..24bce865 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -17,7 +17,9 @@ before_install:
- cd server
script:
- cargo install diesel_cli --no-default-features --features postgres
- - cargo install
+ - cargo build
- diesel migration run
- cargo build --all
- cargo test --all
+env:
+ - DATABASE_URL=postgres://rrr:rrr@localhost/rrr