mirror of
https://github.com/ClementTsang/bottom.git
synced 2025-07-22 13:14:40 +02:00
Travis tuning
This commit is contained in:
parent
e369d16efd
commit
74ca062f32
43
.travis.yml
43
.travis.yml
@ -3,17 +3,32 @@ rust:
|
|||||||
- stable
|
- stable
|
||||||
- beta
|
- beta
|
||||||
- nightly
|
- nightly
|
||||||
os:
|
|
||||||
- osx
|
|
||||||
- linux
|
|
||||||
env:
|
|
||||||
- RUST_BACKTRACE=1
|
|
||||||
jobs:
|
jobs:
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- rust: nightly
|
- rust: nightly
|
||||||
|
- env: TARGET=x86_64-pc-windows-gnu # Seems to cause problems
|
||||||
|
include:
|
||||||
|
- os: linux
|
||||||
|
env:
|
||||||
|
- RUST_BACKTRACE=1
|
||||||
|
- TARGET=x86_64-unknown-linux-gnu
|
||||||
|
- os: osx
|
||||||
|
env:
|
||||||
|
- RUST_BACKTRACE=1
|
||||||
|
- TARGET=x86_64-apple-darwin
|
||||||
|
- os: windows
|
||||||
|
env:
|
||||||
|
- RUST_BACKTRACE=1
|
||||||
|
- TARGET=x86_64-pc-windows-msvc
|
||||||
|
- os: windows
|
||||||
|
env:
|
||||||
|
- RUST_BACKTRACE=1
|
||||||
|
- TARGET=x86_64-pc-windows-gnu
|
||||||
|
|
||||||
|
before_script: rustup target add $TARGET
|
||||||
script:
|
script:
|
||||||
- cargo build --verbose
|
- cargo build --release --target $TARGET
|
||||||
- cargo test --verbose
|
- cargo test --verbose --target $TARGET
|
||||||
|
|
||||||
# Need to cache the whole `.cargo` directory to keep .crates.toml for cargo-update to work
|
# Need to cache the whole `.cargo` directory to keep .crates.toml for cargo-update to work
|
||||||
cache:
|
cache:
|
||||||
@ -25,20 +40,6 @@ before_cache:
|
|||||||
- rm -rf /home/travis/.cargo/git
|
- rm -rf /home/travis/.cargo/git
|
||||||
- rm -rf /home/travis/.cargo/registry
|
- rm -rf /home/travis/.cargo/registry
|
||||||
|
|
||||||
matrix:
|
|
||||||
fast_finish: true
|
|
||||||
include:
|
|
||||||
- name: Windows
|
|
||||||
env: RUST_BACKTRACE=1,TARGET=x86_64-pc-windows-msvc
|
|
||||||
os: windows
|
|
||||||
rust:
|
|
||||||
- stable
|
|
||||||
- beta
|
|
||||||
- nightly
|
|
||||||
before_script: rustup target add $TARGET
|
|
||||||
script: -cargo build --release --target $TARGET
|
|
||||||
- cargo test --verbose
|
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
email:
|
email:
|
||||||
on_success: never
|
on_success: never
|
||||||
|
Loading…
x
Reference in New Issue
Block a user