delete travis + codecov
parent
d572ef0f5d
commit
463afa52c6
49
.travis.yml
49
.travis.yml
|
|
@ -1,49 +0,0 @@
|
||||||
language: rust
|
|
||||||
rust:
|
|
||||||
- stable
|
|
||||||
sudo: required
|
|
||||||
env: TARGET=x86_64-unknown-linux-gnu
|
|
||||||
|
|
||||||
before_install:
|
|
||||||
- set -e
|
|
||||||
- rustup self update
|
|
||||||
|
|
||||||
# install:
|
|
||||||
# - cargo install cargo-update || echo "cargo-update already installed"
|
|
||||||
# - cargo install-update -a # update outdated cached binaries
|
|
||||||
# - cargo install cross || echo "cross already installed"
|
|
||||||
|
|
||||||
#TODO: remove -A clippy::new_ret_no_self when new version of clippy gets released!
|
|
||||||
script:
|
|
||||||
- cargo check --all-features
|
|
||||||
- cargo test --all-features
|
|
||||||
|
|
||||||
cache: cargo
|
|
||||||
before_cache:
|
|
||||||
# Travis can't cache files that are not readable by "others"
|
|
||||||
- chmod -R a+r $HOME/.cargo
|
|
||||||
- |
|
|
||||||
if [[ "$TRAVIS_RUST_VERSION" == stable ]]; then
|
|
||||||
cargo install cargo-tarpaulin
|
|
||||||
fi
|
|
||||||
|
|
||||||
after_success: |
|
|
||||||
if [[ "$TRAVIS_RUST_VERSION" == stable ]]; then
|
|
||||||
# Uncomment the following line for coveralls.io
|
|
||||||
# cargo tarpaulin --ciserver travis-ci --coveralls $TRAVIS_JOB_ID
|
|
||||||
|
|
||||||
# Uncomment the following two lines create and upload a report for codecov.io
|
|
||||||
cargo tarpaulin --all-features --out Xml
|
|
||||||
bash <(curl -s https://codecov.io/bash) -t "$CODECOV_TOKEN"
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
branches:
|
|
||||||
only:
|
|
||||||
# release tags
|
|
||||||
- /^v\d+\.\d+\.\d+.*$/
|
|
||||||
- main
|
|
||||||
|
|
||||||
notifications:
|
|
||||||
email:
|
|
||||||
on_success: never
|
|
||||||
15
codecov.yml
15
codecov.yml
|
|
@ -1,15 +0,0 @@
|
||||||
coverage:
|
|
||||||
status:
|
|
||||||
project:
|
|
||||||
default:
|
|
||||||
# basic
|
|
||||||
target: auto
|
|
||||||
threshold: 0%
|
|
||||||
base: auto
|
|
||||||
flags:
|
|
||||||
- unit
|
|
||||||
paths:
|
|
||||||
- "src"
|
|
||||||
if_ci_failed: ignore #success, failure, error, ignore
|
|
||||||
informational: false
|
|
||||||
only_pulls: false
|
|
||||||
Loading…
Reference in New Issue