From b45b02b37eea6bd556d696fc3d324d577a0e52dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa?= Date: Sat, 30 Nov 2019 23:32:31 +0100 Subject: [PATCH] Change CI to run tests --- .travis.yml | 4 ++-- azure-pipelines.yml | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3a463a0..ae8d813 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,5 +17,5 @@ before_install: install: true script: - git ls-files --exclude='Dockerfile*' --ignored | xargs --max-lines=1 hadolint -- cargo build --features "sqlite" -- cargo build --features "mysql" +- cargo test --features "sqlite" +- cargo test --features "mysql" diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 131ba80..727622f 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -18,8 +18,8 @@ steps: cargo -V displayName: Query rust and cargo versions -- script : cargo build --features "sqlite" - displayName: 'Build project with sqlite backend' +- script : cargo test --features "sqlite" + displayName: 'Test project with sqlite backend' -- script : cargo build --features "mysql" - displayName: 'Build project with mysql backend' +- script : cargo test --features "mysql" + displayName: 'Test project with mysql backend'