From: Dessalines Date: Sat, 6 Apr 2019 15:27:35 +0000 (-0700) Subject: Travis X-Git-Url: http://these/git/%22https:/nerdica.net/%7B%60%24%7BwebArchiveUrl%7D/save/%7B%60%24%7BarchiveTodayUrl%7D/?a=commitdiff_plain;h=00d9a88dbd4d139370abc5057d03dcdcf3210b3f;p=lemmy.git Travis --- 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