2017-05-12 13:41:26 +02:00
|
|
|
language: rust
|
2017-10-11 19:11:19 +02:00
|
|
|
cache: cargo
|
2017-06-05 11:51:05 +02:00
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- rust: nightly
|
2017-06-12 22:05:34 +02:00
|
|
|
include:
|
2017-10-11 19:11:19 +02:00
|
|
|
# Stable channel.
|
|
|
|
- os: linux
|
|
|
|
rust: stable
|
|
|
|
before_script:
|
|
|
|
- export PATH="$PATH:$HOME/.cargo/bin"
|
|
|
|
- which rustfmt || cargo install rustfmt
|
|
|
|
script:
|
|
|
|
- cargo fmt -- --write-mode=diff
|
|
|
|
- cargo build
|
|
|
|
- cargo test
|
|
|
|
# Beta channel.
|
|
|
|
- os: linux
|
|
|
|
rust: beta
|
|
|
|
- os: linux
|
|
|
|
rust: beta
|
|
|
|
env: TARGET=x86_64-unknown-linux-musl
|
|
|
|
- os: linux
|
|
|
|
rust: beta
|
|
|
|
env: TARGET=x86_64-unknown-linux-gnu
|
2017-06-12 22:05:34 +02:00
|
|
|
# Nightly channel.
|
2017-10-11 19:11:19 +02:00
|
|
|
- os: linux
|
|
|
|
rust: nightly
|
|
|
|
before_script:
|
|
|
|
- export PATH="$PATH:$HOME/.cargo/bin"
|
|
|
|
- which rustfmt || cargo install rustfmt-nightly
|
|
|
|
script:
|
|
|
|
- cargo fmt -- --write-mode=diff
|
|
|
|
- cargo build
|
|
|
|
- cargo test
|
2017-06-12 22:05:34 +02:00
|
|
|
- os: linux
|
|
|
|
rust: nightly
|
|
|
|
env: TARGET=i686-unknown-linux-musl
|
|
|
|
- os: linux
|
|
|
|
rust: nightly
|
|
|
|
env: TARGET=x86_64-unknown-linux-musl
|
2017-10-07 21:30:57 +02:00
|
|
|
- os: osx
|
|
|
|
rust: nightly
|
|
|
|
env: TARGET=x86_64-apple-darwin
|
2017-06-12 22:05:34 +02:00
|
|
|
# Minimum Rust supported channel.
|
|
|
|
- os: linux
|
2017-10-14 19:14:18 +02:00
|
|
|
rust: 1.19.0
|
2017-06-12 22:05:34 +02:00
|
|
|
env: TARGET=x86_64-unknown-linux-gnu
|
|
|
|
- os: linux
|
2017-10-14 19:14:18 +02:00
|
|
|
rust: 1.19.0
|
2017-06-12 22:05:34 +02:00
|
|
|
env: TARGET=x86_64-unknown-linux-musl
|
2017-10-07 21:30:57 +02:00
|
|
|
- os: osx
|
2017-10-14 19:14:18 +02:00
|
|
|
rust: 1.19.0
|
2017-10-07 21:30:57 +02:00
|
|
|
env: TARGET=x86_64-apple-darwin
|
2017-06-12 22:05:34 +02:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
on_success: never
|