From 1b739af87b07fe49fecc71804dd3d65a72a41c20 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Tue, 19 Nov 2019 15:58:38 -0800 Subject: [PATCH] Messing with travis 2. --- .travis.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5dd835d..fba9292 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,14 +5,18 @@ matrix: allow_failures: - rust: nightly fast_finish: true -cache: cargo +cache: + directories: + - /home/travis/.cargo +before_cache: + - rm -rf /home/travis/.cargo/registry before_script: - psql -c "create user rrr with password 'rrr' superuser;" -U postgres - psql -c 'create database rrr with owner rrr;' -U postgres - - cargo install --force diesel_cli --no-default-features --features postgres before_install: - cd server script: + - cargo install --force diesel_cli --no-default-features --features postgres - diesel migration run - cargo build - cargo test