vw_small

Hardened fork of Vaultwarden (https://github.com/dani-garcia/vaultwarden) with fewer features.
git clone https://git.philomathiclife.com/repos/vw_small
Log | Files | Refs | README

commit 5bdcfe128d6bf43bb9dc56b95ff796678d106353
parent 1842a796fb90ce401e9bde8e52974638121ac113
Author: BlackDex <black.dex@gmail.com>
Date:   Thu,  8 Oct 2020 18:48:05 +0200

Updated the azure-pipelines.yml for multidb

Updated the azure-pipelines.yml to build multidb now.
- Updated to Ubuntu 18.04 (Closer matches the docker builds)
- Added some really needed apt packages to be sure that they are
  installed
- Now run cargo test using all database backeds in one go.

Diffstat:
Mazure-pipelines.yml | 13+++++--------
1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/azure-pipelines.yml b/azure-pipelines.yml @@ -1,5 +1,5 @@ pool: - vmImage: 'Ubuntu-16.04' + vmImage: 'Ubuntu-18.04' steps: - script: | @@ -10,16 +10,13 @@ steps: - script: | sudo apt-get update - sudo apt-get install -y libmysql++-dev - displayName: Install libmysql + sudo apt-get install -y --no-install-recommends build-essential libmariadb-dev-compat libpq-dev libssl-dev pkgconf + displayName: 'Install build libraries.' - script: | rustc -Vv cargo -V displayName: Query rust and cargo versions -- script : cargo test --features "sqlite" - displayName: 'Test project with sqlite backend' - -- script : cargo test --features "mysql" - displayName: 'Test project with mysql backend' +- script : cargo test --features "sqlite,mysql,postgresql" + displayName: 'Test project with sqlite, mysql and postgresql backends'