]> Untitled Git - lemmy.git/commitdiff
Travis
authorDessalines <tyhou13@gmx.com>
Sat, 6 Apr 2019 15:27:35 +0000 (08:27 -0700)
committerDessalines <tyhou13@gmx.com>
Sat, 6 Apr 2019 15:27:35 +0000 (08:27 -0700)
.travis.yml

index 8f59ccd283522ff997f67c1516373de0ab6a859b..4a30e576005fc11674caabfde721f5685eb6c6c0 100644 (file)
@@ -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