imag/.travis.yml

89 lines
2.3 KiB
YAML
Raw Normal View History

2015-12-29 13:51:26 +00:00
sudo: false
os:
- linux
dist:
- trusty
2015-12-29 13:51:26 +00:00
language: rust
matrix:
include:
2018-04-11 23:11:08 +00:00
- language: nix
script:
- bash ./scripts/find-dead-symlinks
- bash ./scripts/license-headers-updated
- bash ./scripts/branch-contains-no-tmp-commits
2018-04-11 16:14:27 +00:00
- 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
- language: rust
rust: stable
name: clippy
cache:
directories:
- /home/travis/.cargo
before_cache:
- rm -rf /home/travis/.cargo/registry
install:
- rustup component add clippy
script:
- cargo clippy --all --all-targets
addons:
apt:
packages:
- libdbus-1-dev
- pkg-config
- libclang-dev
2015-12-29 13:51:26 +00:00
notifications:
email:
on_success: always
on_failure: always
irc:
channels:
2017-04-21 18:34:14 +00:00
- chat.freenode.net#imag
template:
2017-04-21 18:34:14 +00:00
- "%{repository_name} (%{branch} @ %{commit} by %{author}): %{result}"