From 660b3b3dcfec6646e6c663e3166c1c305a853cdd Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Thu, 12 Apr 2018 00:22:50 +0200 Subject: Change setup to use travis matrix and dedicated ci script --- .travis.yml | 36 +++++++++++++++++++++++------------- 1 file changed, 23 insertions(+), 13 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 9dbfe469..1d622f67 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,13 +7,30 @@ dist: language: rust -rust: - - 1.23.0 - - 1.24.0 - - stable +matrix: + include: + - language: rust + rust: 1.23.0 + cache: + cargo: true + script: + - cargo build --all --all-features -j 1 || exit 1 + - cargo test --all --all-features -j 1 || exit 1 + - language: rust + rust: 1.24.0 + cache: + cargo: true + script: + - cargo build --all --all-features -j 1 || exit 1 + - cargo test --all --all-features -j 1 || exit 1 + - language: rust + rust: stable + cache: + cargo: true + script: + - cargo build --all --all-features -j 1 || exit 1 + - cargo test --all --all-features -j 1 || exit 1 -cache: - cargo: true addons: apt: @@ -21,13 +38,6 @@ addons: - libdbus-1-dev - pkg-config -script: - - | - bash ./scripts/find-dead-symlinks || exit 1 - bash ./scripts/license-headers-updated || exit 1 - cargo build --all --all-features -j 1 || exit 1 - cargo test --all --all-features -j 1 || exit 1 - notifications: email: on_success: never -- cgit v1.2.3