mirror of
https://github.com/sharkdp/fd.git
synced 2024-10-31 19:41:01 +01:00
parent
049b9ec06b
commit
97e3110333
40
.travis.yml
40
.travis.yml
@ -1,13 +1,38 @@
|
|||||||
language: rust
|
language: rust
|
||||||
rust:
|
cache: cargo
|
||||||
- stable
|
|
||||||
- beta
|
|
||||||
- nightly
|
|
||||||
matrix:
|
matrix:
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- rust: nightly
|
- rust: nightly
|
||||||
include:
|
include:
|
||||||
|
# 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
|
||||||
# Nightly channel.
|
# Nightly channel.
|
||||||
|
- 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
|
||||||
- os: linux
|
- os: linux
|
||||||
rust: nightly
|
rust: nightly
|
||||||
env: TARGET=i686-unknown-linux-musl
|
env: TARGET=i686-unknown-linux-musl
|
||||||
@ -17,13 +42,6 @@ matrix:
|
|||||||
- os: osx
|
- os: osx
|
||||||
rust: nightly
|
rust: nightly
|
||||||
env: TARGET=x86_64-apple-darwin
|
env: TARGET=x86_64-apple-darwin
|
||||||
# Beta channel.
|
|
||||||
- os: linux
|
|
||||||
rust: beta
|
|
||||||
env: TARGET=x86_64-unknown-linux-musl
|
|
||||||
- os: linux
|
|
||||||
rust: beta
|
|
||||||
env: TARGET=x86_64-unknown-linux-gnu
|
|
||||||
# Minimum Rust supported channel.
|
# Minimum Rust supported channel.
|
||||||
- os: linux
|
- os: linux
|
||||||
rust: 1.16.0
|
rust: 1.16.0
|
||||||
|
Loading…
Reference in New Issue
Block a user