mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-11-22 12:05:11 +00:00
Travis changes
• Modernise the Travis incantations, which have become old and faded since they were first written • Specify a MSRV (1.42.0) and compile on more architectures • Test the power set of features on Stable
This commit is contained in:
parent
6eb5cee634
commit
31a2eba2fe
24
.travis.yml
24
.travis.yml
@ -1,13 +1,19 @@
|
|||||||
before_install:
|
|
||||||
- sudo add-apt-repository --yes ppa:kubuntu-ppa/backports
|
|
||||||
- sudo apt-get update -qq
|
|
||||||
- sudo apt-get install cmake
|
|
||||||
sudo: true
|
|
||||||
language: rust
|
language: rust
|
||||||
rust:
|
rust:
|
||||||
|
- 1.42.0
|
||||||
- stable
|
- stable
|
||||||
|
- beta
|
||||||
|
- nightly
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
fast_finish: true
|
||||||
|
allow_failures:
|
||||||
|
- rust: nightly
|
||||||
|
|
||||||
|
include:
|
||||||
|
- name: 'Rust: test with all features'
|
||||||
|
rust: stable
|
||||||
|
install:
|
||||||
|
- cargo install cargo-hack
|
||||||
script:
|
script:
|
||||||
- cargo build --verbose
|
- cargo hack test --feature-powerset
|
||||||
- cargo test --verbose
|
|
||||||
- cargo build --verbose --no-default-features
|
|
||||||
- cargo test --verbose --no-default-features
|
|
||||||
|
Loading…
Reference in New Issue
Block a user