2015-12-29 13:51:26 +00:00
|
|
|
sudo: false
|
2017-02-04 11:32:06 +00:00
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
|
|
|
|
dist:
|
|
|
|
- trusty
|
|
|
|
|
2015-12-29 13:51:26 +00:00
|
|
|
language: rust
|
2017-02-04 11:32:06 +00:00
|
|
|
|
2018-04-11 22:22:50 +00:00
|
|
|
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
|
2018-04-11 22:22:50 +00:00
|
|
|
- language: rust
|
2019-04-27 00:06:24 +00:00
|
|
|
rust: 1.34.0
|
2018-04-11 22:22:50 +00:00
|
|
|
cache:
|
2018-09-27 08:48:16 +00:00
|
|
|
directories:
|
|
|
|
- /home/travis/.cargo
|
|
|
|
before_cache:
|
|
|
|
- rm -rf /home/travis/.cargo/registry
|
2018-04-11 22:22:50 +00:00
|
|
|
script:
|
|
|
|
- cargo build --all --all-features -j 1 || exit 1
|
|
|
|
- cargo test --all --all-features -j 1 || exit 1
|
|
|
|
- language: rust
|
2019-04-27 00:06:24 +00:00
|
|
|
rust: 1.35.0
|
2018-04-11 22:22:50 +00:00
|
|
|
cache:
|
2018-09-27 08:48:16 +00:00
|
|
|
directories:
|
|
|
|
- /home/travis/.cargo
|
|
|
|
before_cache:
|
|
|
|
- rm -rf /home/travis/.cargo/registry
|
2018-04-11 22:22:50 +00:00
|
|
|
script:
|
|
|
|
- cargo build --all --all-features -j 1 || exit 1
|
|
|
|
- cargo test --all --all-features -j 1 || exit 1
|
|
|
|
- language: rust
|
|
|
|
rust: stable
|
|
|
|
cache:
|
2018-09-27 08:48:16 +00:00
|
|
|
directories:
|
|
|
|
- /home/travis/.cargo
|
|
|
|
before_cache:
|
|
|
|
- rm -rf /home/travis/.cargo/registry
|
2018-04-11 22:22:50 +00:00
|
|
|
script:
|
|
|
|
- cargo build --all --all-features -j 1 || exit 1
|
|
|
|
- cargo test --all --all-features -j 1 || exit 1
|
2018-10-12 12:57:01 +00:00
|
|
|
- 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
|
2019-08-25 08:33:35 +00:00
|
|
|
- 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
|
2017-02-04 11:32:06 +00:00
|
|
|
|
|
|
|
|
2017-12-22 14:03:17 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- libdbus-1-dev
|
|
|
|
- pkg-config
|
2019-08-10 06:56:04 +00:00
|
|
|
- libclang-dev
|
2017-12-22 14:03:17 +00:00
|
|
|
|
2015-12-29 13:51:26 +00:00
|
|
|
notifications:
|
2016-08-22 10:44:15 +00:00
|
|
|
email:
|
2018-08-09 20:49:21 +00:00
|
|
|
on_success: always
|
|
|
|
on_failure: always
|
2016-08-22 10:44:15 +00:00
|
|
|
irc:
|
|
|
|
channels:
|
2017-04-21 18:34:14 +00:00
|
|
|
- chat.freenode.net#imag
|
2016-08-22 10:44:15 +00:00
|
|
|
template:
|
2017-04-21 18:34:14 +00:00
|
|
|
- "%{repository_name} (%{branch} @ %{commit} by %{author}): %{result}"
|
2017-02-04 11:32:06 +00:00
|
|
|
|