summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2018-04-12 00:22:50 +0200
committerMatthias Beyer <mail@beyermatthias.de>2018-04-12 15:21:26 +0200
commit660b3b3dcfec6646e6c663e3166c1c305a853cdd (patch)
tree1bef4522dcde356aeb2f13cdf347f537b62a711d /.travis.yml
parentc27dc79afe2ed2d978515dbcb737b0927783027b (diff)
Change setup to use travis matrix and dedicated ci script
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml36
1 files changed, 23 insertions, 13 deletions
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