Update CI

pull/4/head
Diego Barrios Romero 2020-05-02 11:50:43 +02:00
parent fdc71accf3
commit 17c9230e1f
1 changed files with 10 additions and 15 deletions

View File

@ -1,16 +1,15 @@
language: rust
# sudo is required to enable kcov to use the personality syscall
sudo: required
dist: bionic # because of tarpaulin
env:
global:
- DISABLE_CLIPPY=1
- RUSTFLAGS="-D warnings"
before_install:
- git clone https://github.com/eldruin/rust-driver-ci-scripts ci
- bash ci/before_install.sh
matrix:
jobs:
include:
- env: TARGET=x86_64-unknown-linux-gnu
before_script:
@ -25,14 +24,6 @@ matrix:
- libdw-dev
- binutils-dev
- 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
- env: TARGET=x86_64-unknown-linux-gnu
@ -50,6 +41,13 @@ matrix:
- env: TARGET=thumbv7em-none-eabihf
- 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:
bash ci/install.sh
@ -59,9 +57,6 @@ script:
after_script: set +e
cache: cargo
cache:
directories:
- /home/travis/.cargo
before_cache:
bash ci/before_cache.sh