imag/.travis.yml
Matthias Beyer d5eb918523 travis: Update rustc
Because we depend on try_into in these patches, we have to bump the
rustc version to 1.34.0 minimum here.

And because we do support the last three rust stable compilers, this has
to wait.

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-05-30 09:32:07 +02:00

75 lines
1.9 KiB
YAML

sudo: false
os:
- linux
dist:
- trusty
language: rust
matrix:
include:
- language: nix
script:
- bash ./scripts/find-dead-symlinks
- bash ./scripts/license-headers-updated
- bash ./scripts/branch-contains-no-tmp-commits
- bash ./scripts/version-updated
- language: rust
rust: 1.34.0
cache:
directories:
- /home/travis/.cargo
before_cache:
- rm -rf /home/travis/.cargo/registry
script:
- cargo build --all --all-features -j 1 || exit 1
- cargo test --all --all-features -j 1 || exit 1
- language: rust
rust: 1.35.0
cache:
directories:
- /home/travis/.cargo
before_cache:
- rm -rf /home/travis/.cargo/registry
script:
- cargo build --all --all-features -j 1 || exit 1
- cargo test --all --all-features -j 1 || exit 1
- language: rust
rust: stable
cache:
directories:
- /home/travis/.cargo
before_cache:
- rm -rf /home/travis/.cargo/registry
script:
- cargo build --all --all-features -j 1 || exit 1
- cargo test --all --all-features -j 1 || exit 1
- language: rust
rust: beta
cache:
directories:
- /home/travis/.cargo
before_cache:
- rm -rf /home/travis/.cargo/registry
script:
- cargo build --all --all-features -j 1 || exit 1
- cargo test --all --all-features -j 1 || exit 1
addons:
apt:
packages:
- libdbus-1-dev
- pkg-config
notifications:
email:
on_success: always
on_failure: always
irc:
channels:
- chat.freenode.net#imag
template:
- "%{repository_name} (%{branch} @ %{commit} by %{author}): %{result}"