imag/.travis.yml
Matthias Beyer 82aef29d45 Reduce number of build-jobs
Currently we have build times up to 2 hours. That's because travis does
not execute all builds in parallel, but some in sequence (afaik 4 are
run in parallel).

Because of that, we have build times up to 2 hours.

By removing the builds for 1.21 (which is old, 1.24 came out 3 days ago)
and for beta and nightly, we reduce the number of jobs for each build to
3 and thus the overall build time, hopefully.
2018-02-18 20:45:20 +01:00

38 lines
552 B
YAML

sudo: false
os:
- linux
dist:
- trusty
language: rust
rust:
- 1.22.1
- 1.23.0
- stable
cache:
cargo: true
addons:
apt:
packages:
- libdbus-1-dev
- pkg-config
script:
- |
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
irc:
channels:
- chat.freenode.net#imag
template:
- "%{repository_name} (%{branch} @ %{commit} by %{author}): %{result}"