mirror of https://github.com/eldruin/ds323x-rs
Update CI
parent
fdc71accf3
commit
17c9230e1f
25
.travis.yml
25
.travis.yml
|
@ -1,16 +1,15 @@
|
||||||
language: rust
|
language: rust
|
||||||
# sudo is required to enable kcov to use the personality syscall
|
dist: bionic # because of tarpaulin
|
||||||
sudo: required
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
- DISABLE_CLIPPY=1
|
- RUSTFLAGS="-D warnings"
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- git clone https://github.com/eldruin/rust-driver-ci-scripts ci
|
- git clone https://github.com/eldruin/rust-driver-ci-scripts ci
|
||||||
- bash ci/before_install.sh
|
- bash ci/before_install.sh
|
||||||
|
|
||||||
matrix:
|
jobs:
|
||||||
include:
|
include:
|
||||||
- env: TARGET=x86_64-unknown-linux-gnu
|
- env: TARGET=x86_64-unknown-linux-gnu
|
||||||
before_script:
|
before_script:
|
||||||
|
@ -25,14 +24,6 @@ matrix:
|
||||||
- libdw-dev
|
- libdw-dev
|
||||||
- binutils-dev
|
- binutils-dev
|
||||||
- cmake
|
- cmake
|
||||||
sources:
|
|
||||||
- kalakris-cmake
|
|
||||||
|
|
||||||
- env: TARGET=x86_64-unknown-linux-gnu
|
|
||||||
rust: nightly
|
|
||||||
|
|
||||||
- env: TARGET=x86_64-unknown-linux-musl
|
|
||||||
rust: beta
|
|
||||||
|
|
||||||
# Minimum Supported Rust Version
|
# Minimum Supported Rust Version
|
||||||
- env: TARGET=x86_64-unknown-linux-gnu
|
- env: TARGET=x86_64-unknown-linux-gnu
|
||||||
|
@ -50,6 +41,13 @@ matrix:
|
||||||
- env: TARGET=thumbv7em-none-eabihf
|
- env: TARGET=thumbv7em-none-eabihf
|
||||||
- env: TARGET=thumbv7m-none-eabi
|
- env: TARGET=thumbv7m-none-eabi
|
||||||
|
|
||||||
|
allow_failures:
|
||||||
|
- env: TARGET=x86_64-unknown-linux-gnu
|
||||||
|
rust: nightly
|
||||||
|
|
||||||
|
- env: TARGET=x86_64-unknown-linux-musl
|
||||||
|
rust: nightly
|
||||||
|
|
||||||
install:
|
install:
|
||||||
bash ci/install.sh
|
bash ci/install.sh
|
||||||
|
|
||||||
|
@ -59,9 +57,6 @@ script:
|
||||||
after_script: set +e
|
after_script: set +e
|
||||||
|
|
||||||
cache: cargo
|
cache: cargo
|
||||||
cache:
|
|
||||||
directories:
|
|
||||||
- /home/travis/.cargo
|
|
||||||
|
|
||||||
before_cache:
|
before_cache:
|
||||||
bash ci/before_cache.sh
|
bash ci/before_cache.sh
|
||||||
|
|
Loading…
Reference in New Issue